Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0abbb609 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b8a3c609
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}