From: Dave Chinner Date: Tue, 22 Mar 2011 11:23:37 +0000 (+1100) Subject: fs: factor inode disposal X-Git-Tag: v2.6.39-rc1~75^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b2af8e614b4dcd8aca1369d82ce5ad0461a7b1;p=pandora-kernel.git fs: factor inode disposal We have a couple of places that dispose of inodes. factor the disposal into evict() to isolate this code and make it simpler to peel away the inode_lock from the code. While doing this, change the logic flow in iput_final() to separate the different cases that need to be handled to make the transitions the inode goes through more obvious. Signed-off-by: Dave Chinner Signed-off-by: Al Viro --- Reading git-diff-tree failed