fs/super.c: improve get_tree() error message
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 Aug 2024 02:06:44 +0000 (22:06 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 Aug 2024 06:07:23 +0000 (02:07 -0400)
commit06f67437ab356e3140f51aea272d33ce28421f66
tree5a824469eb6f65268cb579dabfc82f97bfd667ec
parentbdbdd4759f081ca2d0a5d9e8af21d742ffaf8439
fs/super.c: improve get_tree() error message

seeing an odd bug where we fail to correctly return an error from
.get_tree():

https://syzkaller.appspot.com/bug?extid=c0360e8367d6d8d04a66

we need to be able to distinguish between accidently returning a
positive error (as implied by the log) and no error.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/super.c