diff options
author | 2011-03-22 22:23:37 +1100 | |
---|---|---|
committer | 2011-03-24 21:16:31 -0400 | |
commit | b2b2af8e614b4dcd8aca1369d82ce5ad0461a7b1 (patch) | |
tree | 08b810e4df93a0705cc3c430a327344ae46ebfc8 /tools/perf/scripts/python | |
parent | fs: protect inode->i_state with inode->i_lock (diff) | |
download | linux-dev-b2b2af8e614b4dcd8aca1369d82ce5ad0461a7b1.tar.xz linux-dev-b2b2af8e614b4dcd8aca1369d82ce5ad0461a7b1.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions