WSL2-Linux-Kernel/fs/9p
Latchesar Ionkov 5e7a99ac45 [PATCH] v9fs: assign dentry ops to negative dentries
If a file is not found in v9fs_vfs_lookup, the function creates negative
dentry, but doesn't assign any dentry ops.  This leaves the negative entry
in the cache (there is no d_delete to mark it for removal).  If the file is
created outside of the mounted v9fs filesystem, the file shows up in the
directory with weird permissions.

This patch assigns the default v9fs dentry ops to the negative dentry.

Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-22 07:53:55 -08:00
..
9p.c [PATCH] v9fs: fix for access to unitialized variables or freed memory 2006-03-08 14:14:02 -08:00
9p.h [PATCH] v9fs: handle kthread_create failure, minor bugfixes 2006-01-08 20:14:06 -08:00
Makefile [PATCH] v9fs: add readpage support 2006-01-18 19:20:22 -08:00
conv.c [PATCH] v9fs: v9fs_put_str fix 2006-02-03 08:32:06 -08:00
conv.h [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
debug.h [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
error.c [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
error.h [PATCH] v9fs: handle kthread_create failure, minor bugfixes 2006-01-08 20:14:06 -08:00
fid.c [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
fid.h [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
mux.c [PATCH] v9fs: fix corner cases when flushing request 2006-02-03 08:32:06 -08:00
mux.h [PATCH] v9fs: handle kthread_create failure, minor bugfixes 2006-01-08 20:14:06 -08:00
trans_fd.c [PATCH] v9fs: fix for access to unitialized variables or freed memory 2006-03-08 14:14:02 -08:00
trans_sock.c [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
transport.h [PATCH] v9fs: new multiplexer implementation 2006-01-08 20:14:05 -08:00
v9fs.c [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
v9fs.h [PATCH] v9fs: new multiplexer implementation 2006-01-08 20:14:05 -08:00
v9fs_vfs.h [PATCH] v9fs: fix atomic create open 2006-03-02 08:33:07 -08:00
vfs_addr.c [PATCH] v9fs: add readpage support 2006-01-18 19:20:22 -08:00
vfs_dentry.c [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
vfs_dir.c [PATCH] v9fs: fix overzealous dropping of dentry which breaks dcache 2006-03-17 07:51:25 -08:00
vfs_file.c [PATCH] v9fs: fix atomic create open 2006-03-02 08:33:07 -08:00
vfs_inode.c [PATCH] v9fs: assign dentry ops to negative dentries 2006-03-22 07:53:55 -08:00
vfs_super.c [PATCH] v9fs: fix for access to unitialized variables or freed memory 2006-03-08 14:14:02 -08:00