]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/binfmt_misc.c
xfs: Fix overallocation in xfs_buf_allocate_memory()
[karo-tx-linux.git] / fs / binfmt_misc.c
index 613aa06182358806cd65f077df4e687593806455..790b3cddca673284c00d78cb80a68fb550568aff 100644 (file)
@@ -505,7 +505,7 @@ static struct inode *bm_get_inode(struct super_block *sb, int mode)
 
 static void bm_evict_inode(struct inode *inode)
 {
-       end_writeback(inode);
+       clear_inode(inode);
        kfree(inode->i_private);
 }