android_kernel_motorola_sm6375/fs/overlayfs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter db699975f7 ovl: fix missing revert_creds() on error path
commit 7b279bbfd2b230c7a210ff8f405799c7e46bbf48 upstream.

Smatch complains about missing that the ovl_override_creds() doesn't
have a matching revert_creds() if the dentry is disconnected.  Fix this
by moving the ovl_override_creds() until after the disconnected check.

Fixes: aa3ff3c152 ("ovl: copy up of disconnected dentries")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-05-14 09:44:16 +02:00
..
copy_up.c ovl: fix missing revert_creds() on error path 2021-05-14 09:44:16 +02:00
dir.c
export.c
file.c
inode.c ovl: perform vfs_getxattr() with mounter creds 2021-02-17 10:35:15 +01:00
Kconfig
Makefile
namei.c
overlayfs.h
ovl_entry.h
readdir.c
super.c ovl: allow upperdir inside lowerdir 2021-05-07 10:51:38 +02:00
util.c