]> Git Repo - linux.git/commit
fs: fix a struct path leak in path_umount
authorChristoph Hellwig <[email protected]>
Thu, 6 Aug 2020 14:07:10 +0000 (16:07 +0200)
committerAl Viro <[email protected]>
Fri, 7 Aug 2020 23:21:30 +0000 (19:21 -0400)
commit25ccd24ffd9119c452d711efa2604a7a0c35956e
tree411e1a18fe2bbf87e454d815e2eff696fbd6dfe9
parentf073531070d24bbb82cb2658952d949f4851024b
fs: fix a struct path leak in path_umount

Make sure we also put the dentry and vfsmnt in the illegal flags
and !may_umount cases.

Fixes: 41525f56e256 ("fs: refactor ksys_umount")
Reported-by: Vikas Kumar <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
fs/namespace.c
This page took 0.045073 seconds and 4 git commands to generate.