The patch titled fuse: locking fix for nlookup has been removed from the -mm tree. Its filename is fuse-locking-fix-for-nlookup.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: fuse: locking fix for nlookup From: Miklos Szeredi <miklos@xxxxxxxxxx> 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@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/fuse/dir.c | 2 ++ fs/fuse/inode.c | 2 ++ 2 files changed, 4 insertions(+) diff -puN fs/fuse/dir.c~fuse-locking-fix-for-nlookup fs/fuse/dir.c --- a/fs/fuse/dir.c~fuse-locking-fix-for-nlookup +++ a/fs/fuse/dir.c @@ -163,7 +163,9 @@ static int fuse_dentry_revalidate(struct fuse_send_forget(fc, req, outarg.nodeid, 1); return 0; } + spin_lock(&fc->lock); fi->nlookup ++; + spin_unlock(&fc->lock); } fuse_put_request(fc, req); if (err || (outarg.attr.mode ^ inode->i_mode) & S_IFMT) diff -puN fs/fuse/inode.c~fuse-locking-fix-for-nlookup fs/fuse/inode.c --- a/fs/fuse/inode.c~fuse-locking-fix-for-nlookup +++ a/fs/fuse/inode.c @@ -195,7 +195,9 @@ struct inode *fuse_iget(struct super_blo } fi = get_fuse_inode(inode); + spin_lock(&fc->lock); fi->nlookup ++; + spin_unlock(&fc->lock); fuse_change_attributes(inode, attr); return inode; } _ Patches currently in -mm which might be from miklos@xxxxxxxxxx are origin.patch fuse-update-userspace-interface-to-version-78.patch fuse-minor-cleanup-in-fuse_dentry_revalidate.patch fuse-add-support-for-block-device-based-filesystems.patch fuse-add-blksize-option.patch fuse-add-bmap-support.patch fuse-add-destroy-operation.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html