From: Al Viro Date: Fri, 28 May 2010 23:06:15 +0000 (-0400) Subject: mqueue doesn't need make_bad_inode() X-Git-Tag: v2.6.35-rc2~6^2~6 X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=commitdiff_plain;h=0abbb609ac511fc226b8b1082613193c8ecf8324 mqueue doesn't need make_bad_inode() It never hashes them anyway and does final iput() immediately afterwards. With ->drop_inode() being generic_delete_inode()... Signed-off-by: Al Viro --- diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 5108232..c93fd3f 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -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; }