提交 0abbb609 编写于 作者: A Al Viro

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: NAl Viro <viro@zeniv.linux.org.uk>
上级 b8a3c609
...@@ -176,7 +176,6 @@ static struct inode *mqueue_get_inode(struct super_block *sb, ...@@ -176,7 +176,6 @@ static struct inode *mqueue_get_inode(struct super_block *sb,
} }
return inode; return inode;
out_inode: out_inode:
make_bad_inode(inode);
iput(inode); iput(inode);
return NULL; return NULL;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册