]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/btrfs/ctree.h
btrfs: Replace opencoded sizes with their symbolic constants
[mirror_ubuntu-bionic-kernel.git] / fs / btrfs / ctree.h
index e2afe524e25ea4d377bf769746a946c3912852da..7bda8429e93fa8da8f5735d786c71e33fed530b6 100644 (file)
@@ -523,7 +523,7 @@ struct btrfs_caching_control {
 };
 
 /* Once caching_thread() finds this much free space, it will wake up waiters. */
-#define CACHING_CTL_WAKE_UP (1024 * 1024 * 2)
+#define CACHING_CTL_WAKE_UP SZ_2M
 
 struct btrfs_io_ctl {
        void *cur, *orig;