diff options
author | David Sterba <dsterba@suse.com> | 2016-04-27 00:54:39 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-04-29 14:48:14 +0300 |
commit | 210aa27768bec4297a9d6ad0e5cab45935c775e9 (patch) | |
tree | 3b1e723a0f4dda6cfe820f20f8d193dc3b4c5100 /fs/btrfs/transaction.c | |
parent | 059f791c6bbaba72dc3c1bd6e2657aacc8552849 (diff) | |
download | linux-210aa27768bec4297a9d6ad0e5cab45935c775e9.tar.xz |
btrfs: sink gfp parameter to convert_extent_bit
Single caller passes GFP_NOFS. We can get rid of the
gfpflags_allow_blocking checks as NOFS can block but does not recurse to
filesystem through reclaim.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 43885e51b882..98b93d9c6213 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -943,7 +943,7 @@ int btrfs_write_marked_extents(struct btrfs_root *root, err = convert_extent_bit(dirty_pages, start, end, EXTENT_NEED_WAIT, - mark, &cached_state, GFP_NOFS); + mark, &cached_state); /* * convert_extent_bit can return -ENOMEM, which is most of the * time a temporary error. So when it happens, ignore the error |