[PATCH] fuse: locking fix for nlookup
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 17 Oct 2006 07:10:08 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:45 +0000 (08:18 -0700)
commit8da5ff23ce0a84d9845b01e6fe5047e17836bf5a
treedc711306a3793c91a5df7fc0223738a40ea3fb7c
parent7762f5a0b709b415fda132258ad37b9f2a1db994
[PATCH] fuse: locking fix for nlookup

An inode could be returned by independent parallel lookups, in this case an
update of the lookup counter could be lost resulting in a memory leak in
userspace.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/dir.c
fs/fuse/inode.c