btrfs: add separate helper for unlock_extent_cached with GFP_ATOMIC
authorDavid Sterba <dsterba@suse.com>
Thu, 7 Dec 2017 17:52:54 +0000 (18:52 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:19 +0000 (16:08 +0100)
commitd810a4be1a625aafb2602c56c1256047f1e27380
treeed863dba1c88471617abbe424b57bb631e8cc11e
parent5bedc48a8f9e1d62fb693c4171ffddb990d034f6
btrfs: add separate helper for unlock_extent_cached with GFP_ATOMIC

There's only one instance where we pass different gfp mask to
unlock_extent_cached. Add a separate helper for that and then we can
drop the gfp parameter from unlock_extent_cached.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h