Skip to content

Commit

Permalink
mqueue doesn't need make_bad_inode()
Browse files Browse the repository at this point in the history
It never hashes them anyway and does final iput() immediately
afterwards.  With ->drop_inode() being generic_delete_inode()...

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jun 4, 2010
1 parent b8a3c60 commit 0abbb60
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ipc/mqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0abbb60

Please sign in to comment.