summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-09-28 15:41:47 +0530
committerVijay Bellur <vijay@gluster.com>2011-11-16 03:45:11 -0800
commit8c182c6bf700cdc8a7e2d4b75109ad0acee2e70d (patch)
tree29e4aa8bd05540c663bf935bc454476e93262590 /libglusterfs/src
parent14f4e023822a22e0a4902acfd28c8f5ea8c94ccd (diff)
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 <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/xlator.c3
-rw-r--r--libglusterfs/src/xlator.h3
2 files changed, 0 insertions, 6 deletions
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;
};