[BACK]Return to denode.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / fs / msdosfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/fs/msdosfs/denode.h between version 1.7 and 1.8

version 1.7, 2005/08/29 23:57:35 version 1.8, 2005/09/12 16:24:41
Line 225  struct denode {
Line 225  struct denode {
 #define DETOV(de)       ((de)->de_vnode)  #define DETOV(de)       ((de)->de_vnode)
   
 #define DETIMES(dep, acc, mod, cre, gmtoff) \  #define DETIMES(dep, acc, mod, cre, gmtoff) \
         if ((dep)->de_flag & (DE_UPDATE | DE_CREATE | DE_ACCESS)) { \          while ((dep)->de_flag & (DE_UPDATE | DE_CREATE | DE_ACCESS)) \
                 (dep)->de_flag |= DE_MODIFIED; \                  msdosfs_detimes(dep, acc, mod, cre, gmtoff)
                 if ((dep)->de_flag & DE_UPDATE) { \  
                         unix2dostime((mod), gmtoff, &(dep)->de_MDate, &(dep)->de_MTime, NULL); \  
                         (dep)->de_Attributes |= ATTR_ARCHIVE; \  
                 } \  
                 if (!((dep)->de_pmp->pm_flags & MSDOSFSMNT_NOWIN95)) { \  
                         if ((dep)->de_flag & DE_ACCESS) \  
                                 unix2dostime((acc), gmtoff, &(dep)->de_ADate, NULL, NULL); \  
                         if ((dep)->de_flag & DE_CREATE) \  
                                 unix2dostime((cre), gmtoff, &(dep)->de_CDate, &(dep)->de_CTime, &(dep)->de_CHun); \  
                 } \  
                 (dep)->de_flag &= ~(DE_UPDATE | DE_CREATE | DE_ACCESS); \  
         }  
   
 /*  /*
  * This overlays the fid structure (see mount.h)   * This overlays the fid structure (see mount.h)
Line 313  int uniqdosname(struct denode *, struct 
Line 301  int uniqdosname(struct denode *, struct 
 int findwin95(struct denode *);  int findwin95(struct denode *);
 int msdosfs_gop_alloc(struct vnode *, off_t, off_t, int, struct ucred *);  int msdosfs_gop_alloc(struct vnode *, off_t, off_t, int, struct ucred *);
 void msdosfs_gop_markupdate(struct vnode *, int);  void msdosfs_gop_markupdate(struct vnode *, int);
   void msdosfs_detimes(struct denode *, const struct timespec *,
       const struct timespec *, const struct timespec *, int);
 #endif  /* _KERNEL */  #endif  /* _KERNEL */

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>