diff options
| -rw-r--r-- | fs/inode.c | 2 | ||||
| -rw-r--r-- | include/linux/fs.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/inode.c b/fs/inode.c index 93e7a5ecbc26..7a1bea9cb8ee 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
| @@ -335,8 +335,6 @@ static void evict(struct inode *inode, int delete) | |||
| 335 | 335 | ||
| 336 | if (op->evict_inode) { | 336 | if (op->evict_inode) { |
| 337 | op->evict_inode(inode); | 337 | op->evict_inode(inode); |
| 338 | } else if (delete && op->delete_inode) { | ||
| 339 | op->delete_inode(inode); | ||
| 340 | } else { | 338 | } else { |
| 341 | if (inode->i_data.nrpages) | 339 | if (inode->i_data.nrpages) |
| 342 | truncate_inode_pages(&inode->i_data, 0); | 340 | truncate_inode_pages(&inode->i_data, 0); |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 3c23c1dcb1bd..2b1254771e46 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1564,7 +1564,6 @@ struct super_operations { | |||
| 1564 | int (*write_inode) (struct inode *, struct writeback_control *wbc); | 1564 | int (*write_inode) (struct inode *, struct writeback_control *wbc); |
| 1565 | void (*drop_inode) (struct inode *); | 1565 | void (*drop_inode) (struct inode *); |
| 1566 | void (*evict_inode) (struct inode *); | 1566 | void (*evict_inode) (struct inode *); |
| 1567 | void (*delete_inode) (struct inode *); | ||
| 1568 | void (*put_super) (struct super_block *); | 1567 | void (*put_super) (struct super_block *); |
| 1569 | void (*write_super) (struct super_block *); | 1568 | void (*write_super) (struct super_block *); |
| 1570 | int (*sync_fs)(struct super_block *sb, int wait); | 1569 | int (*sync_fs)(struct super_block *sb, int wait); |
