[PATCH] kill ->put_inode
And with that last patch to affs killing the last put_inode instance we can finally, after many years of transition kill this racy and awkward interface. (It's kinda funny that even the description in Documentation/filesystems/vfs.txt was entirely wrong..) Also remove a very misleading comment above the defintion of struct super_operations. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
committed by
Al Viro
parent
dca3c33652
commit
33dcdac2df
@@ -1153,9 +1153,6 @@ void iput(struct inode *inode)
|
||||
|
||||
BUG_ON(inode->i_state == I_CLEAR);
|
||||
|
||||
if (op && op->put_inode)
|
||||
op->put_inode(inode);
|
||||
|
||||
if (atomic_dec_and_lock(&inode->i_count, &inode_lock))
|
||||
iput_final(inode);
|
||||
}
|
||||
|
Reference in New Issue
Block a user