From: Christoph Hellwig Date: Tue, 20 Feb 2007 21:58:11 +0000 (-0800) Subject: [PATCH] affs: implement ->drop_inode X-Git-Tag: v2.6.21-rc1~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2be3c79046cf90d75d436708a4e0898c7a1f9d51;p=pandora-kernel.git [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 Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed