summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/mount3.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-05-31 22:43:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-06-01 00:23:51 -0700
commit7cda6661979dfec1614575a9729b84cbf49e6b25 (patch)
tree515dc223f685190243b1a1338c3b0929b6244d45 /xlators/nfs/server/src/mount3.c
parentda08199c57cedb3dc922ed6bec07932cd2aefabd (diff)
nfs3: Special-case the lookup for parent dir of root
When a lookup request comes in for (rootfh, ".."), we need to handle it in a way that returns the attributes and handle of the root dir. Not doing so crashes nfsx because the inode table is not able to find a inode for the root's parent. This inode was being referenced in nfs3_lookup_parentdir_resume when filling a loc for the lookup fop. For the record, such a lookup request is sent by vmkernel. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 942 (NFS crashes as a vmware ESX data store) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=942
Diffstat (limited to 'xlators/nfs/server/src/mount3.c')
0 files changed, 0 insertions, 0 deletions