eCryptfs: Fix lockdep warning in miscdev operations
[cascardo/linux.git] / fs / 9p / vfs_inode.c
index 014c8dd..57ccb75 100644 (file)
@@ -448,7 +448,7 @@ void v9fs_evict_inode(struct inode *inode)
        struct v9fs_inode *v9inode = V9FS_I(inode);
 
        truncate_inode_pages(inode->i_mapping, 0);
-       end_writeback(inode);
+       clear_inode(inode);
        filemap_fdatawrite(inode->i_mapping);
 
 #ifdef CONFIG_9P_FSCACHE