Merge tag 'for-linus' of git://github.com/prasad-joshi/logfs_upstream
[platform/upstream/kernel-adaptation-pc.git] / fs / logfs / readwrite.c
index c8ea866..5be0abe 100644 (file)
@@ -2175,7 +2175,7 @@ void logfs_evict_inode(struct inode *inode)
                }
        }
        truncate_inode_pages(&inode->i_data, 0);
-       end_writeback(inode);
+       clear_inode(inode);
 
        /* Cheaper version of write_inode.  All changes are concealed in
         * aliases, which are moved back.  No write to the medium happens.