summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-04-26 23:54:39 +0200
committerDavid Sterba <dsterba@suse.com>2016-04-29 11:01:47 +0200
commitceeb0ae7bf42a3deaaaee981d2da02e5d3ad2b0f (patch)
tree19b30e6a6107b68b7f40567d0c05f9458ec27832 /fs/btrfs/scrub.c
parent02da2d72174c61988eb4456b53f405e3ebdebce4 (diff)
downloadlinux-ceeb0ae7bf42a3deaaaee981d2da02e5d3ad2b0f.tar.gz
linux-ceeb0ae7bf42a3deaaaee981d2da02e5d3ad2b0f.tar.bz2
linux-ceeb0ae7bf42a3deaaaee981d2da02e5d3ad2b0f.zip
btrfs: sink gfp parameter to set_extent_bits
All callers pass GFP_NOFS. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r--fs/btrfs/scrub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index 4678f03e878e..9d24375eed1f 100644
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -745,7 +745,7 @@ static int scrub_fixup_readpage(u64 inum, u64 offset, u64 root, void *fixup_ctx)
* sure we read the bad mirror.
*/
ret = set_extent_bits(&BTRFS_I(inode)->io_tree, offset, end,
- EXTENT_DAMAGED, GFP_NOFS);
+ EXTENT_DAMAGED);
if (ret) {
/* set_extent_bits should give proper error */
WARN_ON(ret > 0);