ubik: Remove 'mtime' from ubik_stat 68/13068/2
authorAndrew Deason <adeason@sinenomine.net>
Thu, 10 May 2018 21:05:10 +0000 (16:05 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 19 May 2018 01:50:08 +0000 (21:50 -0400)
Nothing uses the 'mtime' field from ubik_stat. Remove it.

Change-Id: I7611a7ca5aa5743be43aefafeda5ecf9a5d47598
Reviewed-on: https://gerrit.openafs.org/13068
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/ubik/phys.c
src/ubik/ubik.p.h

index 4ce6a22..0bc24f1 100644 (file)
@@ -159,7 +159,6 @@ uphys_stat(struct ubik_dbase *adbase, afs_int32 afid, struct ubik_stat *astat)
     if (code < 0) {
        return code;
     }
-    astat->mtime = tstat.st_mtime;
     code = tstat.st_size - HDRSIZE;
     if (code < 0)
        astat->size = 0;
index 9454cac..3f3d41b 100644 (file)
@@ -123,7 +123,6 @@ struct ubik_trunc {
 
 struct ubik_stat {
     afs_int32 size;
-    afs_int32 mtime;
 };
 
 #include <lock.h>              /* just to make sure we've got this */