diff options
author | Amar Tumballi <amar@gluster.com> | 2010-09-14 07:40:11 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-14 08:16:01 -0700 |
commit | 8e068b0615859829ac1bb2351b78307b2b496cdc (patch) | |
tree | 841bc095caf5ed8f81e3d371ce4366a6664e52e4 /libglusterfs/src/iatt.h | |
parent | c55cc2d5362a607692beac96a34add2e79a9ad44 (diff) |
remove 'gen' from iatt/protocol structures
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'libglusterfs/src/iatt.h')
-rw-r--r-- | libglusterfs/src/iatt.h | 5 |
1 files changed, 0 insertions, 5 deletions
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; |