From b6eee04da4a699c7cd850bf2121825cc67f14707 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sun, 2 Oct 2011 08:46:46 +0530 Subject: core: made changes to return value of __is_root_gfid() now returns 'true(1)' is gfid is root, 'false(0)' if not. earlier it was the inverse, which was bit confusing Change-Id: Id103f444ace048cbb0fccdc72c6646da06631584 BUG: 3518 Reviewed-on: http://review.gluster.com/549 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/inode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libglusterfs/src/inode.h') diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index b1d9b3742..a632ff5e9 100644 --- a/libglusterfs/src/inode.h +++ b/libglusterfs/src/inode.h @@ -182,6 +182,7 @@ int inode_ctx_del2 (inode_t *inode, xlator_t *xlator, uint64_t *value1, uint64_t *value2); -int +gf_boolean_t __is_root_gfid (uuid_t gfid); + #endif /* _INODE_H */ -- cgit