aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlmfs/dlmfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/dlmfs/dlmfs.c')
-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