diff options
author | Peter Watkins <treestem@gmail.com> | 2012-05-07 20:11:37 (GMT) |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-05-21 15:45:44 (GMT) |
commit | 3ba316037470bbf98c8a16c2179c02794fb8862e (patch) | |
tree | cd9a68a6f7ecefc76e7e66e21fd936a60a1e2b6f /fs/ext3/xattr.c | |
parent | ea562ed6e7df5acd9392d993882c39e855099165 (diff) | |
download | linux-fsl-qoriq-3ba316037470bbf98c8a16c2179c02794fb8862e.tar.xz |
xfs: fix memory reclaim deadlock on agi buffer
Note xfs_iget can be called while holding a locked agi buffer. If
it goes into memory reclaim then inode teardown may try to lock the
same buffer. Prevent the deadlock by calling radix_tree_preload
with GFP_NOFS.
Signed-off-by: Peter Watkins <treestem@gmail.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/ext3/xattr.c')
0 files changed, 0 insertions, 0 deletions