Skip to content

Commit 0abbb60

Browse files
author
Al Viro
committed
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>
1 parent b8a3c60 commit 0abbb60

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎ipc/mqueue.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ static struct inode *mqueue_get_inode(struct super_block *sb,
176176
}
177177
return inode;
178178
out_inode:
179-
make_bad_inode(inode);
180179
iput(inode);
181180
return NULL;
182181
}

0 commit comments

Comments
 (0)