commit | 25ccd24ffd9119c452d711efa2604a7a0c35956e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Aug 06 16:07:10 2020 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri Aug 07 19:21:30 2020 -0400 |
tree | 411e1a18fe2bbf87e454d815e2eff696fbd6dfe9 | |
parent | f073531070d24bbb82cb2658952d949f4851024b [diff] |
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 <vikas.kumar2@arm.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>