]> err.no Git - linux-2.6/commit
[PATCH] V9FS: 'names_cache' memory leak
authorDavi Arnaut <davi.arnaut@gmail.com>
Mon, 7 Nov 2005 08:59:36 +0000 (00:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:39 +0000 (07:53 -0800)
commitce44eeb6906cf2b093b76ea69b952621712a4a3c
tree7fbf66bef211951dfac7c114de2bf3ae5fcb15a5
parentbe586bab8bfbf5d429bdfcb6136bdde89583c5c4
[PATCH] V9FS: 'names_cache' memory leak

Data allocated with "__getname()" should always be free'd with "__putname()"
because of the AUDITSYSCALL code.

Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com>
Cc: <rminnich@lanl.gov>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/9p/v9fs.c
fs/9p/vfs_inode.c