From 8c182c6bf700cdc8a7e2d4b75109ad0acee2e70d Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Wed, 28 Sep 2011 15:41:47 +0530 Subject: core: remove 'ino' variable from 'loc_t' structure Change-Id: I53b007fbdb42313d207d5d63fbfaaa6aaf033f95 BUG: 3518 Reviewed-on: http://review.gluster.com/523 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- libglusterfs/src/xlator.c | 3 --- libglusterfs/src/xlator.h | 3 --- 2 files changed, 6 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index 0d8c2589ae1..1e349b58c65 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -546,7 +546,6 @@ loc_wipe (loc_t *loc) } uuid_clear (loc->gfid); uuid_clear (loc->pargfid); - loc->ino = 0; } @@ -558,8 +557,6 @@ loc_copy (loc_t *dst, loc_t *src) GF_VALIDATE_OR_GOTO ("xlator", dst, err); GF_VALIDATE_OR_GOTO ("xlator", src, err); - dst->ino = src->ino; - uuid_copy (dst->gfid, src->gfid); uuid_copy (dst->pargfid, src->pargfid); diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index 725a9a2d039..c86e8718cac 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -90,9 +90,6 @@ struct _loc { */ uuid_t gfid; uuid_t pargfid; - - /* ideally, should not be used */ - ino_t ino; }; -- cgit