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
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 885 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.6 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 145.6 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top