aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-07 13:20:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:48:31 -0400
commit07958f9f5b9e8422c15368a1733a52ea99009896 (patch)
treebab80f40113f8b7d86287f9d596fa5f0c1b755a7
parent0930fcc1ee2f0a810b938bc283a3a262d7adccbb (diff)
->delete_inode() is gone
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/inode.c2
-rw-r--r--include/linux/fs.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 93e7a5ecbc2..7a1bea9cb8e 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -335,8 +335,6 @@ static void evict(struct inode *inode, int delete)
if (op->evict_inode) {
op->evict_inode(inode);
- } else if (delete && op->delete_inode) {
- op->delete_inode(inode);
} else {
if (inode->i_data.nrpages)
truncate_inode_pages(&inode->i_data, 0);
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 3c23c1dcb1b..2b1254771e4 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1564,7 +1564,6 @@ struct super_operations {
int (*write_inode) (struct inode *, struct writeback_control *wbc);
void (*drop_inode) (struct inode *);
void (*evict_inode) (struct inode *);
- void (*delete_inode) (struct inode *);
void (*put_super) (struct super_block *);
void (*write_super) (struct super_block *);
int (*sync_fs)(struct super_block *sb, int wait);