summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-07-08 02:57:27 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 03:23:51 +0200
commitac0811538b40bb92d339d22364026ed91dfdd147 (patch)
tree6129b15ee8219343244c3dc8efa1a9ea7b51531d /crypto
parent[PATCH] namespace.c: fix expiring of detached mount (diff)
downloadlinux-ac0811538b40bb92d339d22364026ed91dfdd147.tar.xz
linux-ac0811538b40bb92d339d22364026ed91dfdd147.zip
[PATCH] namespace.c: fix mnt_namespace zeroing for expired mounts
This patch clears mnt_namespace in an expired mount. If mnt_namespace is not cleared, it's possible to attach a new mount to the already detached mount, because check_mnt() can return true. The effect is a resource leak, since the resulting tree will never be freed. Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions