summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-26 21:54:39 (GMT)
committerDavid Sterba <dsterba@suse.com>2016-04-29 09:01:47 (GMT)
commit7cd8c7527cb3ad3b397fecfa1bdc8eec9fa33dd8 (patch)
treefdef851aea02cdc7fbbdd3dbc6427626a1a50b06 /fs/btrfs/inode.c
parentaf6f8f604d44e05f98ed45a69830547ed133adf8 (diff)
downloadlinux-7cd8c7527cb3ad3b397fecfa1bdc8eec9fa33dd8.tar.xz
btrfs: sink gfp parameter to set_extent_delalloc
Callers pass GFP_NOFS and tests pass GFP_KERNEL, but using NOFS there does not hurt. No need to pass the flags around. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index d37997f..1a4bd19 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1962,7 +1962,7 @@ int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end,
{
WARN_ON((end & (PAGE_SIZE - 1)) == 0);
return set_extent_delalloc(&BTRFS_I(inode)->io_tree, start, end,
- cached_state, GFP_NOFS);
+ cached_state);
}
/* see btrfs_writepage_start_hook for details on why this is required */