• Dave Chinner's avatar
    fs: factor inode disposal · b2b2af8e
    Dave Chinner authored
    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: default avatarDave Chinner <dchinner@redhat.com>
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    b2b2af8e
inode.c 46 KB