commit | b2b2af8e614b4dcd8aca1369d82ce5ad0461a7b1 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Tue Mar 22 22:23:37 2011 +1100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 24 21:16:31 2011 -0400 |
tree | 08b810e4df93a0705cc3c430a327344ae46ebfc8 | |
parent | 250df6ed274d767da844a5d9f05720b804240197 [diff] |
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 <dchinner@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>