linux/fs/logfs
Dave Chinner f283c86afe fs: remove inode_lock from iput_final and prune_icache
Now that inode state changes are protected by the inode->i_lock and
the inode LRU manipulations by the inode_lru_lock, we can remove the
inode_lock from prune_icache and the initial part of iput_final().

instead of using the inode_lock to protect the inode during
iput_final, use the inode->i_lock instead. This protects the inode
against new references being taken while we change the inode state
to I_FREEING, as well as preventing prune_icache from grabbing the
inode while we are manipulating it. Hence we no longer need the
inode_lock in iput_final prior to setting I_FREEING on the inode.

For prune_icache, we no longer need the inode_lock to protect the
LRU list, and the inodes themselves are protected against freeing
races by the inode->i_lock. Hence we can lift the inode_lock from
prune_icache as well.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2011-03-24 21:16:32 -04:00
..
Kconfig
Makefile
compr.c zlib: slim down zlib_deflate() workspace when possible 2011-03-22 17:44:17 -07:00
dev_bdev.c block: clean up blkdev_get() wrappers and their users 2010-11-13 11:55:18 +01:00
dev_mtd.c logfs: fix a leak in get_sb 2010-10-29 04:16:48 -04:00
dir.c fs: provide rcu-walk aware permission i_ops 2011-01-07 17:50:29 +11:00
file.c userns: rename is_owner_or_cap to inode_owner_or_capable 2011-03-23 19:47:13 -07:00
gc.c logfs: handle powerfail on NAND flash 2010-05-07 19:38:40 +02:00
inode.c fs: remove inode_lock from iput_final and prune_icache 2011-03-24 21:16:32 -04:00
journal.c logfs: fix deadlock in logfs_get_wblocks, hold and wait on super->s_write_mutex 2010-12-22 19:43:33 -08:00
logfs.h fs: logfs: Fix up MTD=y build. 2010-11-01 16:34:56 -04:00
logfs_abi.h fix "seperate" typos in comments 2010-05-10 11:56:30 +02:00
readwrite.c logfs: fix "Kernel BUG at readwrite.c:1193" 2010-12-22 19:43:33 -08:00
segment.c logfs: get rid of magical inodes 2010-08-09 16:48:26 -04:00
super.c switch logfs to ->mount() 2010-10-29 04:16:51 -04:00