diff options
author | Christoph Hellwig <hch@lst.de> | 2020-08-06 16:07:10 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-08-07 19:21:30 -0400 |
commit | 25ccd24ffd9119c452d711efa2604a7a0c35956e (patch) | |
tree | 411e1a18fe2bbf87e454d815e2eff696fbd6dfe9 /include/linux | |
parent | f073531070d24bbb82cb2658952d949f4851024b (diff) | |
download | linux-stable-25ccd24ffd9119c452d711efa2604a7a0c35956e.tar.gz linux-stable-25ccd24ffd9119c452d711efa2604a7a0c35956e.tar.bz2 linux-stable-25ccd24ffd9119c452d711efa2604a7a0c35956e.zip |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions