]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/inode.c
Take ->i_bdev/->i_cdev handling out of clear_inode()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Jun 2010 00:19:55 +0000 (20:19 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:47:48 +0000 (16:47 -0400)
commit661074e91b1da1ee262dfde6dd836deacccb9def
tree97227898352c3bea7975fcc0bb98a8e013b1d03b
parentc6287315cb958e740466555ca5e9d007f25b39bd
Take ->i_bdev/->i_cdev handling out of clear_inode()

All call chains to clear_inode() pass through evict_inode() and
clear_inode() should be called by evict_inode() exactly once.
So we can pull i_bdev/i_cdev detaching up to evict_inode() itself.

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