From 0abbb609ac511fc226b8b1082613193c8ecf8324 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Fri, 28 May 2010 19:06:15 -0400 Subject: 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 --- ipc/mqueue.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ipc') diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 5108232f93d..c93fd3faac2 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; } -- cgit v1.2.3-18-g5258