path: root/
diff options
authorRaghavendra Bhat <>2012-03-12 21:06:45 +0530
committerVijay Bellur <>2012-03-14 05:57:18 -0700
commitaa0f68aa8ec38808a83553abde8d8211047e7b4e (patch)
treed35a5efa3f65d2f16b3512535dec5377169a2c74 /
parent7bd561996d5a32071942b598739b130e020f89ee (diff)
nfs: do not call inode_path on the newly created inode
While resolving, for building the path into the loc, inode_find is called with gfid as argument to get the inode from the inode table. If the inode is not found, then a new inode is created. Then the path is build using inode_path. But if the inode is not linked to inode table (newly created inode), then gfid will be null and inode_path returns null gfid as the path. Suppose the lookup operation on that gfid fails, then we print the null gfid in the log message. To avoid it, build the path using the gfid only if inode_path fails. Change-Id: I2506fa8675761ddb0bc02980cd3583d9d068fc85 BUG: 802424 Signed-off-by: Raghavendra Bhat <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Amar Tumballi <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions