->delete_inode() is gone
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
0930fcc1ee
commit
07958f9f5b
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue