diff options
Diffstat (limited to 'libglusterfs/src/inode.c')
-rw-r--r-- | libglusterfs/src/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c index 7ce3e5b95..18faf8d1b 100644 --- a/libglusterfs/src/inode.c +++ b/libglusterfs/src/inode.c @@ -208,6 +208,8 @@ __is_dentry_cyclic (dentry_t *dentry) ret = __foreach_ancestor_dentry (dentry, __check_cycle, dentry->inode); if (ret) { + inode = dentry->inode; + if (dentry->name) name = dentry->name; uuid_unparse (inode->gfid, uuidbuf); |