]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fs: do not drop inode_lock in dispose_list
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Oct 2010 17:40:24 +0000 (19:40 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:26:15 +0000 (21:26 -0400)
commitd895a1c96af8c2a0f6a5e0119695a7c6b92df8db
tree6c6c72f5a071eb3c1c31b9188e8237d64001b2eb
parent7ccf19a8042e343f8159f8a5fdd6a9422aa90c78
fs: do not drop inode_lock in dispose_list

Despite the comment above it we can not safely drop the lock here.
invalidate_list is called from many other places that just umount.
Also switch to proper list macros now that we never drop the lock.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c