exofs_mount(): fix leaks on failure exits
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 10 Nov 2018 03:26:42 +0000 (22:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Dec 2019 14:37:28 +0000 (15:37 +0100)
commit3cc434913830c35ef2bd9f467f15763a577c3bbc
treeac724b4503a5972ed3ade409f01282df3004049f
parentf2fce585d55ca4b530bc4372f66bfed23abca225
exofs_mount(): fix leaks on failure exits

[ Upstream commit 26cb5a328c6b2bda9e859307ce4cfc60df3a2c28 ]

... and don't abuse mount_nodev(), while we are at it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/exofs/super.c