original_kernel/fs/autofs
Ian Kent 66917f85db autofs: add: new_inode check in autofs_fill_super()
Add missing NULL check of root_inode in autofs_fill_super().

While we are at it simplify the logic by taking advantage of the VFS
cleanup procedures and get rid of the goto error handling, as suggested
by Al Viro.

Signed-off-by: Ian Kent <raven@themaw.net>
Link: https://lore.kernel.org/r/20231119225319.331156-1-raven@themaw.net
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Bill O'Donnell <billodo@redhat.com>
Reported-by: <syzbot+662f87a8ef490f45fa64@syzkaller.appspotmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-11-20 14:56:36 +01:00
..
Kconfig
Makefile
autofs_i.h autofs: fix add autofs_parse_fd() 2023-10-24 11:04:45 +02:00
dev-ioctl.c
expire.c
init.c
inode.c autofs: add: new_inode check in autofs_fill_super() 2023-11-20 14:56:36 +01:00
root.c
symlink.c
waitq.c