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

2014-06-25 Thread Raghavendra Bhat
On Tuesday 24 June 2014 08:17 PM, Pranith Kumar Karampuri wrote: 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

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

2014-06-25 Thread Pranith Kumar Karampuri
On 06/25/2014 11:52 AM, Raghavendra Bhat wrote: On Tuesday 24 June 2014 08:17 PM, Pranith Kumar Karampuri wrote: 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)

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

2014-06-24 Thread Pranith Kumar Karampuri
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