mqueue doesn't need make_bad_inode()
Al Viro [Fri, 28 May 2010 23:06:15 +0000 (19:06 -0400)]
It never hashes them anyway and does final iput() immediately
afterwards.  With ->drop_inode() being generic_delete_inode()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

ipc/mqueue.c

index 5108232..c93fd3f 100644 (file)
@@ -176,7 +176,6 @@ static struct inode *mqueue_get_inode(struct super_block *sb,
        }
        return inode;
 out_inode:
-       make_bad_inode(inode);
        iput(inode);
        return NULL;
 }