diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-07-20 11:53:59 +0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 22:16:49 +0400 |
commit | 4a7edddcb5b14ddb5962e6906b6fd6b500d7a361 (patch) | |
tree | e62253cc40f36bfa631f0dd316a16ac987d11dd4 /security/inode.c | |
parent | 438697064aaa2f64e0fcc6586582a3e7ec36005b (diff) | |
download | linux-4a7edddcb5b14ddb5962e6906b6fd6b500d7a361.tar.xz |
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 'security/inode.c')
0 files changed, 0 insertions, 0 deletions