aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorIan Kent <[email protected]>2023-11-19 22:53:19 +0000
committerChristian Brauner <[email protected]>2023-11-20 13:56:36 +0000
commit66917f85db6002ed09cd24186258892fcfca64b6 (patch)
tree29d6891850fa0f3582a58604a0c90ccd6a64e632 /net/unix/af_unix.c
parentiov_iter: fix copy_page_to_iter_nofault() (diff)
downloadkernel-66917f85db6002ed09cd24186258892fcfca64b6.tar.gz
kernel-66917f85db6002ed09cd24186258892fcfca64b6.zip
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bill O'Donnell <[email protected]> Cc: Al Viro <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Bill O'Donnell <[email protected]> Reported-by: <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions