提交 07958f9f 编写于 作者: A Al Viro

->delete_inode() is gone

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 0930fcc1
...@@ -335,8 +335,6 @@ static void evict(struct inode *inode, int delete) ...@@ -335,8 +335,6 @@ static void evict(struct inode *inode, int delete)
if (op->evict_inode) { if (op->evict_inode) {
op->evict_inode(inode); op->evict_inode(inode);
} else if (delete && op->delete_inode) {
op->delete_inode(inode);
} else { } else {
if (inode->i_data.nrpages) if (inode->i_data.nrpages)
truncate_inode_pages(&inode->i_data, 0); truncate_inode_pages(&inode->i_data, 0);
......
...@@ -1564,7 +1564,6 @@ struct super_operations { ...@@ -1564,7 +1564,6 @@ struct super_operations {
int (*write_inode) (struct inode *, struct writeback_control *wbc); int (*write_inode) (struct inode *, struct writeback_control *wbc);
void (*drop_inode) (struct inode *); void (*drop_inode) (struct inode *);
void (*evict_inode) (struct inode *); void (*evict_inode) (struct inode *);
void (*delete_inode) (struct inode *);
void (*put_super) (struct super_block *); void (*put_super) (struct super_block *);
void (*write_super) (struct super_block *); void (*write_super) (struct super_block *);
int (*sync_fs)(struct super_block *sb, int wait); int (*sync_fs)(struct super_block *sb, int wait);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册