author: Jan Kara <jack@suse.cz> 2012-05-03 14:48:02 +0200
committer: Fengguang Wu <fengguang.wu@intel.com> 2012-05-06 13:43:41 +0800
commit: dbd5768f87ff6fb0a4fe09c4d7b6c4a24de99430
parent: 7994e6f7254354e03028a11f98a27bd67dace9f1
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c
index 3da5ce25faf0..08d0b2568cd3 100644
--- a/fs/sysv/inode.c
+++ b/fs/sysv/inode.c
@@ -316,7 +316,7 @@ static void sysv_evict_inode(struct inode *inode)
sysv_truncate(inode);
}
invalidate_inode_buffers(inode);
- end_writeback(inode);
+ clear_inode(inode);
if (!inode->i_nlink)
sysv_free_inode(inode);
}