diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-28 19:06:15 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-06-04 17:16:27 -0400 |
commit | 0abbb609ac511fc226b8b1082613193c8ecf8324 (patch) | |
tree | dc70af8cdfae534b4538fae571525fc5282f224f /ipc/mqueue.c | |
parent | b8a3c6091a2337391ed878693604d712d6420241 (diff) |
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/mqueue.c')
-rw-r--r-- | ipc/mqueue.c | 1 |
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, | |||
176 | } | 176 | } |
177 | return inode; | 177 | return inode; |
178 | out_inode: | 178 | out_inode: |
179 | make_bad_inode(inode); | ||
180 | iput(inode); | 179 | iput(inode); |
181 | return NULL; | 180 | return NULL; |
182 | } | 181 | } |