summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-05-29 01:06:15 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-06-04 23:16:27 +0200
commit0abbb609ac511fc226b8b1082613193c8ecf8324 (patch)
treedc70af8cdfae534b4538fae571525fc5282f224f /ipc
parentMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/... (diff)
downloadlinux-0abbb609ac511fc226b8b1082613193c8ecf8324.tar.xz
linux-0abbb609ac511fc226b8b1082613193c8ecf8324.zip
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/mqueue.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 5108232f93d4..c93fd3faac2d 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;
}