]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
xfs: switch to NOFS allocation under i_lock in xfs_attr_rmtval_set
authorChristoph Hellwig <hch@infradead.org>
Sat, 18 Jul 2009 22:14:59 +0000 (18:14 -0400)
committerFelix Blyakher <felixb@sgi.com>
Wed, 12 Aug 2009 06:07:44 +0000 (01:07 -0500)
commit10746e47e722b5688fcd6eba9fbf9b2e64a248a7
tree5109c89eed3c087cf5889297881a5dc5d9efd3ce
parent36fae17a648e0aee5d9560514d08477ef48dc87f
xfs: switch to NOFS allocation under i_lock in xfs_attr_rmtval_set

xfs_attr_rmtval_set is always called with i_lock held, and 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>
fs/xfs/xfs_attr.c