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

back to top