]> arthur.barton.de Git - netatalk.git/commitdiff
Rename struct dir member d_cime to d_ctime
authorFrank Lahm <franklahm@googlemail.com>
Tue, 3 May 2011 10:23:05 +0000 (12:23 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Tue, 3 May 2011 10:23:05 +0000 (12:23 +0200)
etc/afpd/directory.c
include/atalk/directory.h

index b784f71ddede55067741baa9c0dfe1d64b60f556..867456657d30bf15ad98ec86015d0712594588a1 100644 (file)
@@ -265,7 +265,7 @@ copydir_done:
  */
 static int diroffcnt(struct dir *dir, struct stat *st)
 {
-    return st->st_ctime == dir->ctime;
+    return st->st_ctime == dir->d_ctime;
 }
 
 /* --------------------- */
@@ -1430,7 +1430,7 @@ int file_access(struct path *path, int mode)
 void setdiroffcnt(struct dir *dir, struct stat *st,  u_int32_t count)
 {
     dir->offcnt = count;
-    dir->ctime = st->st_ctime;
+    dir->d_ctime = st->st_ctime;
     dir->d_flags &= ~DIRF_CNID;
 }
 
@@ -1440,7 +1440,7 @@ void setdiroffcnt(struct dir *dir, struct stat *st,  u_int32_t count)
  */
 int dirreenumerate(struct dir *dir, struct stat *st)
 {
-    return st->st_ctime == dir->ctime && (dir->d_flags & DIRF_CNID);
+    return st->st_ctime == dir->d_ctime && (dir->d_flags & DIRF_CNID);
 }
 
 /* ------------------------------
index d15c048940e772229334e10f5f50aad76eefb9da..22991a11e37ff0541409225356b12cc557bbaa34 100644 (file)
@@ -55,7 +55,7 @@ struct dir {
                                      /* will just point to the same storage as d_m_name !! */
     ucs2_t      *d_m_name_ucs2;       /* mac name as UCS2 */
     qnode_t     *qidx_node;           /* pointer to position in queue index */
-    time_t      ctime;                /* inode ctime, used and modified by reenumeration */
+    time_t      d_ctime;                /* inode ctime, used and modified by reenumeration */
     time_t      ctime_dircache;       /* inode ctime, used and modified by dircache */
     int         d_flags;              /* directory flags */
     cnid_t      d_pdid;               /* CNID of parent directory */