linux/fs/9p
Aneesh Kumar K.V 85e0df240e fs/9p: Make sure we properly instantiate dentry.
For lookup if we get ENOENT error from the server we still
instantiate the dentry. We need to make sure we have dentry
operations set in that case so that a later dput on the dentry
does the expected. Without the patch we get the below error

#ln  -sf abc abclink
ln: creating symbolic link `abclink': No such file or directory

Now on the host do
$ touch abclink

Guest now gives ENOENT error.
# ls
ls: cannot access abclink: No such file or directory

Debugged-by:Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2010-05-22 12:34:11 -05:00
..
cache.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cache.h 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
fid.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs 2010-04-05 13:42:54 -07:00
fid.h 9p: Documentation updates 2008-05-14 19:23:25 -05:00
Kconfig 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
Makefile 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
v9fs_vfs.h 9p: VFS switches for 9p2000.L: VFS switches 2010-05-21 16:44:33 -05:00
v9fs.c 9p: add bdi backing to mount session 2010-04-22 11:42:00 +02:00
v9fs.h 9p: add bdi backing to mount session 2010-04-22 11:42:00 +02:00
vfs_addr.c 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
vfs_dentry.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vfs_dir.c 9p: VFS switches for 9p2000.L: VFS switches 2010-05-21 16:44:33 -05:00
vfs_file.c 9p: VFS switches for 9p2000.L: VFS switches 2010-05-21 16:44:33 -05:00
vfs_inode.c fs/9p: Make sure we properly instantiate dentry. 2010-05-22 12:34:11 -05:00
vfs_super.c 9p: add 9P2000.L statfs operation 2010-05-21 16:44:33 -05:00