WSL2-Linux-Kernel/fs/affs
Christoph Hellwig 2be3c79046 [PATCH] affs: implement ->drop_inode
affs wants to truncate the inode when the last user goes away, currently it
does that through a potentially racy i_count check in ->put_inode.  But we
already have a method that's called just after the we dropped the last
reference, ->drop_inode.  This patch implements affs_drop_inode to take
advantage of this.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-20 17:10:15 -08:00
..
Changes Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
affs.h [PATCH] affs: implement ->drop_inode 2007-02-20 17:10:15 -08:00
amigaffs.c [PATCH] fs/*: trivial vsnprintf() conversion 2006-12-07 08:39:35 -08:00
bitmap.c [PATCH] affs: replace kmalloc+memset with kzalloc 2006-12-07 08:39:45 -08:00
dir.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
file.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
inode.c [PATCH] affs: implement ->drop_inode 2007-02-20 17:10:15 -08:00
namei.c [PATCH] affs: possible null pointer dereference in affs_rename() 2006-05-26 11:55:46 -07:00
super.c [PATCH] affs: implement ->drop_inode 2007-02-20 17:10:15 -08:00
symlink.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00