Searched hist:ac081153 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | namespace.c | ac081153 Thu Jul 07 19:57:27 CDT 2005 Miklos Szeredi <miklos@szeredi.hu> [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> ac081153 Thu Jul 07 19:57:27 CDT 2005 Miklos Szeredi <miklos@szeredi.hu> [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>
|