simple_fill_super(): don't bother with d_genocide() on failure
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 Nov 2023 20:56:55 +0000 (15:56 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 25 Nov 2023 07:50:11 +0000 (02:50 -0500)
commit715cd66aabf96b6cf423590954326799312c6dfa
tree33f56e0cb5799583e71c720d44dc0598865d2e53
parentf9453a1ad1fadae29fd7db5ad8ea16f35e737276
simple_fill_super(): don't bother with d_genocide() on failure

Failing ->fill_super() will be followed by ->kill_sb(), which should
include kill_litter_super() if the call of simple_fill_super() had
been asked to create anything besides the root dentry.  So there's
no need to empty the partially populated tree - it will be trimmed
by inevitable kill_litter_super().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/libfs.c