find_bit() requires it.

Signed-off-by: Kirill Tkhai <[email protected]>
---
 drivers/md/dm-push-backup.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/md/dm-push-backup.c b/drivers/md/dm-push-backup.c
index 14a7163c03d7..b6b4beda422c 100644
--- a/drivers/md/dm-push-backup.c
+++ b/drivers/md/dm-push-backup.c
@@ -309,6 +309,7 @@ static int setup_pb(struct push_backup *pb, void __user 
*mask, int timeout)
        pb->timeout_in_jiffies = timeout * HZ;
 
        size = DIV_ROUND_UP(clus, 8);
+       size = ALIGN(size, sizeof(unsigned long));
 
        map = kvzalloc(size, GFP_KERNEL);
        if (!map)


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to