https://github.com/torvalds/linux
Revision 7b02ecb3031b192823bc732ae717febc0a59aa92 authored by Christoph Hellwig on 18 July 2009, 22:15:00 UTC, committed by Felix Blyakher on 12 August 2009, 06:07:53 UTC
xfs_readlink_bmap is called with i_lock held, but i_lock is taken in
reclaim context so all allocations under it must avoid recursions into
the filesystem.

Reported by the new reclaim context tracing in lockdep.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
1 parent 10746e4
History
Tip revision: 7b02ecb3031b192823bc732ae717febc0a59aa92 authored by Christoph Hellwig on 18 July 2009, 22:15:00 UTC
xfs: switch to NOFS allocation under i_lock in xfs_readlink_bmap
Tip revision: 7b02ecb
File Mode Size
Makefile -rw-r--r-- 384 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 6.9 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.8 KB
mqueue.c -rw-r--r-- 30.6 KB
msg.c -rw-r--r-- 20.8 KB
msgutil.c -rw-r--r-- 2.8 KB
namespace.c -rw-r--r-- 3.4 KB
sem.c -rw-r--r-- 33.9 KB
shm.c -rw-r--r-- 25.7 KB
util.c -rw-r--r-- 22.9 KB
util.h -rw-r--r-- 5.1 KB

back to top