diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c index ee85c0e793c..143a63f97b8 100644 --- a/libglusterfs/src/inode.c +++ b/libglusterfs/src/inode.c @@ -1793,7 +1793,7 @@ inode_table_destroy(inode_table_t *inode_table) * purge list. By this time there should not be any * inodes present in the active list except for root * inode. Its a ref_leak otherwise. */ - if (trav != inode_table->root) + if (trav && (trav != inode_table->root)) gf_msg_callingfn(THIS->name, GF_LOG_WARNING, 0, LG_MSG_REF_COUNT, "Active inode(%p) with refcount" |