diff options
author | Filipe Manana <fdmanana@suse.com> | 2018-12-10 20:53:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-17 00:04:37 +0300 |
commit | 7a1b9b76bac76498657b9322164957c2a50c573b (patch) | |
tree | 993dea84f1f74ffb47827491723ab03266ab0c50 /Documentation/dell_rbu.txt | |
parent | 79aa5c0daa5c7a2c4de945f4964702f3fcb6f8a3 (diff) | |
download | linux-7a1b9b76bac76498657b9322164957c2a50c573b.tar.xz |
Btrfs: use nofs context when initializing security xattrs to avoid deadlock
commit 827aa18e7b903c5ff3b3cd8fec328a99b1dbd411 upstream.
When initializing the security xattrs, we are holding a transaction handle
therefore we need to use a GFP_NOFS context in order to avoid a deadlock
with reclaim in case it's triggered.
Fixes: 39a27ec1004e8 ("btrfs: use GFP_KERNEL for xattr and acl allocations")
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/dell_rbu.txt')
0 files changed, 0 insertions, 0 deletions