diff options
| author | Filipe Manana <fdmanana@suse.com> | 2018-12-14 00:16:56 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2019-02-25 16:13:17 +0300 |
| commit | a0873490660246db587849a9e172f2b7b21fa88a (patch) | |
| tree | ff19cf14a965fd30576f37ced859a19856d0f79a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | b89f6d1fcb30a8cbdc18ce00c7d93792076af453 (diff) | |
| download | linux-a0873490660246db587849a9e172f2b7b21fa88a.tar.xz | |
Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
We are holding a transaction handle when setting an acl, therefore we can
not allocate the xattr value buffer using GFP_KERNEL, as we could deadlock
if reclaim is triggered by the allocation, therefore setup a nofs context.
Fixes: 39a27ec1004e8 ("btrfs: use GFP_KERNEL for xattr and acl allocations")
CC: stable@vger.kernel.org # 4.9+
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
