diff options
| author | Filipe Manana <fdmanana@suse.com> | 2018-12-10 17:53:35 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-16 22:03:27 +0100 |
| commit | 90caba63c29dc8b6b544537196060fe6d92b4def (patch) | |
| tree | b1e1d3232789132a4ae64c94820b172e55f8d914 /drivers | |
| parent | d27994b2b2492361969a4a6573f2f25e367f0c4e (diff) | |
| download | linux-90caba63c29dc8b6b544537196060fe6d92b4def.tar.gz linux-90caba63c29dc8b6b544537196060fe6d92b4def.tar.bz2 linux-90caba63c29dc8b6b544537196060fe6d92b4def.zip | |
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 'drivers')
0 files changed, 0 insertions, 0 deletions
