diff options
author | Christoph Hellwig <hch@lst.de> | 2008-04-29 15:46:26 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-05-06 17:45:34 (GMT) |
commit | 33dcdac2df54e66c447ae03f58c95c7251aa5649 (patch) | |
tree | 72163e37bd44452581f68d7991b14e70f37b8bba /fs | |
parent | dca3c33652e437ed02c30ed3eca3cecd0cc00838 (diff) | |
download | linux-fsl-qoriq-33dcdac2df54e66c447ae03f58c95c7251aa5649.tar.xz |
[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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); } |