aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/messages.c
diff options
context:
space:
mode:
authorGravatar David Sterba <dsterba@suse.com> 2023-05-25 01:04:37 +0200
committerGravatar David Sterba <dsterba@suse.com> 2023-06-19 13:59:30 +0200
commit62bc60473ad202aa414edf304a78ddd7bc10ac49 (patch)
treeb2dab1c286a54e34006235ac9f35c139aa4a4c48 /fs/btrfs/messages.c
parentbtrfs: drop NOFAIL from set_extent_bit allocation masks (diff)
downloadlinux-62bc60473ad202aa414edf304a78ddd7bc10ac49.tar.gz
linux-62bc60473ad202aa414edf304a78ddd7bc10ac49.tar.bz2
linux-62bc60473ad202aa414edf304a78ddd7bc10ac49.zip
btrfs: pass NOWAIT for set/clear extent bits as another bit
The only flags we now pass to set_extent_bit/__clear_extent_bit are GFP_NOFS and GFP_NOWAIT (a few functions handling mappings). This requires an extra parameter to be passed everywhere but is almost always the same. Encode the GFP_NOWAIT as an artificial extent bit and extract the real bits and gfp mask in the lowest level helpers. Now the passed gfp mask is not actually used and can be removed. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/messages.c')
0 files changed, 0 insertions, 0 deletions