[Gluster-devel] regarding inode-unref on root inode

Pranith Kumar Karampuri pkarampu at redhat.com
Tue Jun 24 14:47:27 UTC 2014


Does anyone know why inode_unref is no-op for root inode?

I see the following code in inode.c

  static inode_t *
  __inode_unref (inode_t *inode)
  {
          if (!inode)
                  return NULL;

          if (__is_root_gfid(inode->gfid))
                  return inode;
  ...
}

Pranith


More information about the Gluster-devel mailing list