Btrfs: use linux/sizes.h to represent constants
[deliverable/linux.git] / fs / btrfs / ctree.c
index 5b8e235c4b6d6299183ebba91976f0d53612c16c..cb7720f91a4a0748dcfe9db7482bcde3c5d8584b 100644 (file)
@@ -1555,7 +1555,7 @@ noinline int btrfs_cow_block(struct btrfs_trans_handle *trans,
                return 0;
        }
 
-       search_start = buf->start & ~((u64)(1024 * 1024 * 1024) - 1);
+       search_start = buf->start & ~((u64)SZ_1G - 1);
 
        if (parent)
                btrfs_set_lock_blocking(parent);
This page took 0.124698 seconds and 5 git commands to generate.