diff options
author | 2010-07-20 17:53:59 +1000 | |
---|---|---|
committer | 2010-07-26 13:16:49 -0500 | |
commit | 4a7edddcb5b14ddb5962e6906b6fd6b500d7a361 (patch) | |
tree | e62253cc40f36bfa631f0dd316a16ac987d11dd4 /fs/xfs/xfs_utils.h | |
parent | xfs: fix xfs_trans_add_item() lockdep warnings (diff) | |
download | wireguard-linux-4a7edddcb5b14ddb5962e6906b6fd6b500d7a361.tar.xz wireguard-linux-4a7edddcb5b14ddb5962e6906b6fd6b500d7a361.zip |
xfs: fix memory reclaim recursion deadlock on locked inode buffer
Calling into memory reclaim with a locked inode buffer can deadlock
if memory reclaim tries to lock the inode buffer during inode
teardown. Convert the relevant memory allocations to use KM_NOFS to
avoid this deadlock condition.
Reported-by: Peter Watkins <treestem@gmail.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_utils.h')
0 files changed, 0 insertions, 0 deletions