aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-07 14:34:48 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:48:37 -0400
commitb57922d97fd6f79b6dbe6db0c4fd30d219fa08c1 (patch)
tree1d39e9cd8e1c1f502fb7e985a08286859c69aa36 /fs/ocfs2
parent45321ac54316eaeeebde0b5f728a1791e500974c (diff)
convert remaining ->clear_inode() to ->evict_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/dlmfs/dlmfs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c
index 85e4ccaedd1f..a43ebb11ad3b 100644
--- a/fs/ocfs2/dlmfs/dlmfs.c
+++ b/fs/ocfs2/dlmfs/dlmfs.c
@@ -357,13 +357,12 @@ static void dlmfs_destroy_inode(struct inode *inode)
357 kmem_cache_free(dlmfs_inode_cache, DLMFS_I(inode)); 357 kmem_cache_free(dlmfs_inode_cache, DLMFS_I(inode));
358} 358}
359 359
360static void dlmfs_clear_inode(struct inode *inode) 360static void dlmfs_evict_inode(struct inode *inode)
361{ 361{
362 int status; 362 int status;
363 struct dlmfs_inode_private *ip; 363 struct dlmfs_inode_private *ip;
364 364
365 if (!inode) 365 end_writeback(inode);
366 return;
367 366
368 mlog(0, "inode %lu\n", inode->i_ino); 367 mlog(0, "inode %lu\n", inode->i_ino);
369 368
@@ -633,7 +632,7 @@ static const struct super_operations dlmfs_ops = {
633 .statfs = simple_statfs, 632 .statfs = simple_statfs,
634 .alloc_inode = dlmfs_alloc_inode, 633 .alloc_inode = dlmfs_alloc_inode,
635 .destroy_inode = dlmfs_destroy_inode, 634 .destroy_inode = dlmfs_destroy_inode,
636 .clear_inode = dlmfs_clear_inode, 635 .evict_inode = dlmfs_evict_inode,
637 .drop_inode = generic_delete_inode, 636 .drop_inode = generic_delete_inode,
638}; 637};
639 638