Permalink
Browse files

The changes have been recommanded by clefru (http://lwn.net/Articles/…

  • Loading branch information...
1 parent 3bf02a6 commit dff915a8ad2e8ba02ffa68e8214b3c7d202a4a14 Prasad Joshi committed Apr 8, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 module/lzfs_super.c
View
@@ -122,12 +122,11 @@ lzfs_evict_vnode(struct inode *inode)
i_size_write(inode, 0);
truncate_pagecache(inode, oldsize, 0);
+ end_writeback(inode);
+
if (inode->i_nlink)
return;
-
- end_writeback(inode);
-
/* delete the inode */
vp = LZFS_ITOV(inode);

0 comments on commit dff915a

Please sign in to comment.