summaryrefslogtreecommitdiff
path: root/fs/hppfs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-07 00:12:50 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:48:16 -0400
commit33b0daaa5557e9dadf4c27407fae7d316bab5686 (patch)
tree84015e40a5015f1140a53423d14bda1baed8bda9 /fs/hppfs
parentf8ad850f11e11d10e7de1a16ca53cb193afc9313 (diff)
downloadlinux-3.10-33b0daaa5557e9dadf4c27407fae7d316bab5686.tar.gz
linux-3.10-33b0daaa5557e9dadf4c27407fae7d316bab5686.tar.bz2
linux-3.10-33b0daaa5557e9dadf4c27407fae7d316bab5686.zip
switch hppfs to ->evict_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hppfs')
-rw-r--r--fs/hppfs/hppfs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c
index 943ce751ce1..7b027720d82 100644
--- a/fs/hppfs/hppfs.c
+++ b/fs/hppfs/hppfs.c
@@ -624,12 +624,11 @@ static struct inode *hppfs_alloc_inode(struct super_block *sb)
return &hi->vfs_inode;
}
-void hppfs_delete_inode(struct inode *ino)
+void hppfs_evict_inode(struct inode *ino)
{
+ end_writeback(ino);
dput(HPPFS_I(ino)->proc_dentry);
mntput(ino->i_sb->s_fs_info);
-
- clear_inode(ino);
}
static void hppfs_destroy_inode(struct inode *inode)
@@ -640,7 +639,7 @@ static void hppfs_destroy_inode(struct inode *inode)
static const struct super_operations hppfs_sbops = {
.alloc_inode = hppfs_alloc_inode,
.destroy_inode = hppfs_destroy_inode,
- .delete_inode = hppfs_delete_inode,
+ .evict_inode = hppfs_evict_inode,
.statfs = hppfs_statfs,
};