]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/btrfs/tests/extent-io-tests.c
btrfs: sink gfp parameter to set_extent_delalloc
[mirror_ubuntu-zesty-kernel.git] / fs / btrfs / tests / extent-io-tests.c
index 88e28e5d2c38e6616bb2936ae9fcac530fbe9b27..c190d2a520d1ebcb87bbec3f310a70ffb5a6d817 100644 (file)
@@ -113,7 +113,7 @@ static int test_find_delalloc(void)
         * |--- delalloc ---|
         * |---  search  ---|
         */
-       set_extent_delalloc(&tmp, 0, 4095, NULL, GFP_KERNEL);
+       set_extent_delalloc(&tmp, 0, 4095, NULL);
        start = 0;
        end = 0;
        found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
@@ -144,7 +144,7 @@ static int test_find_delalloc(void)
                test_msg("Couldn't find the locked page\n");
                goto out_bits;
        }
-       set_extent_delalloc(&tmp, 4096, max_bytes - 1, NULL, GFP_KERNEL);
+       set_extent_delalloc(&tmp, 4096, max_bytes - 1, NULL);
        start = test_start;
        end = 0;
        found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
@@ -199,7 +199,7 @@ static int test_find_delalloc(void)
         *
         * We are re-using our test_start from above since it works out well.
         */
-       set_extent_delalloc(&tmp, max_bytes, total_dirty - 1, NULL, GFP_KERNEL);
+       set_extent_delalloc(&tmp, max_bytes, total_dirty - 1, NULL);
        start = test_start;
        end = 0;
        found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,