From 8e068b0615859829ac1bb2351b78307b2b496cdc Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 14 Sep 2010 07:40:11 +0000 Subject: remove 'gen' from iatt/protocol structures Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- libglusterfs/src/iatt.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/iatt.h b/libglusterfs/src/iatt.h index e67d714c2a7..390a3c38b76 100644 --- a/libglusterfs/src/iatt.h +++ b/libglusterfs/src/iatt.h @@ -59,7 +59,6 @@ typedef struct { struct iatt { uint64_t ia_ino; /* inode number */ - uint64_t ia_gen; /* generation number */ uuid_t ia_gfid; uint64_t ia_dev; /* backing device ID */ ia_type_t ia_type; /* type of file */ @@ -259,8 +258,6 @@ iatt_from_stat (struct iatt *iatt, struct stat *stat) iatt->ia_dev = stat->st_dev; iatt->ia_ino = stat->st_ino; - (void) iatt->ia_gen; - iatt->ia_type = ia_type_from_st_mode (stat->st_mode); iatt->ia_prot = ia_prot_from_st_mode (stat->st_mode); @@ -294,8 +291,6 @@ iatt_to_stat (struct iatt *iatt, struct stat *stat) stat->st_dev = iatt->ia_dev; stat->st_ino = iatt->ia_ino; - (void) iatt->ia_gen; - stat->st_mode = st_mode_from_ia (iatt->ia_prot, iatt->ia_type); stat->st_nlink = iatt->ia_nlink; -- cgit