OSDN Git Service

btrfs: use GFP_KERNEL for xattr and acl allocations
authorDavid Sterba <dsterba@suse.com>
Thu, 3 Dec 2015 11:49:48 +0000 (12:49 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 3 Dec 2015 14:03:44 +0000 (15:03 +0100)
commit39a27ec1004e886f1d949bdb8f2616896d02c5c2
tree1e4c4389f0857ca5bd38278cde2f68752269c8d9
parent61dd5ae65be6dfaeadb0e841ea6639351f0e04ce
btrfs: use GFP_KERNEL for xattr and acl allocations

We don't have to use GFP_NOFS in context of ACL or XATTR actions, not
possible to loop through the allocator and it's safe to fail with
ENOMEM.

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