]> git.baikalelectronics.ru Git - kernel.git/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)
commit0966aface1b598b1c517cc601b2896b09f4f7387
tree7fbf66bef211951dfac7c114de2bf3ae5fcb15a5
parentc2cb137ea25bd362defdf77726fd233fb9d199fa
[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