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

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

Diff for /src/sys/sys/mount.h between version 1.155 and 1.155.2.2

version 1.155, 2007/03/10 16:50:01 version 1.155.2.2, 2007/04/10 13:26:19
Line 109  struct mount {
Line 109  struct mount {
         void            *mnt_data;              /* private data */          void            *mnt_data;              /* private data */
         int             mnt_wcnt;               /* count of vfs_busy waiters */          int             mnt_wcnt;               /* count of vfs_busy waiters */
         struct lwp      *mnt_unmounter;         /* who is unmounting */          struct lwp      *mnt_unmounter;         /* who is unmounting */
         int             mnt_writeopcountupper;  /* upper writeops in progress */          kmutex_t        mnt_mutex;              /* mutex for wcnt */
         int             mnt_writeopcountlower;  /* lower writeops in progress */  
         struct simplelock mnt_slock;            /* mutex for wcnt and  
                                                    writeops counters */  
         struct mount    *mnt_leaf;              /* leaf fs we mounted on */  
         specificdata_reference          specificdata_reference
                         mnt_specdataref;        /* subsystem specific data */                          mnt_specdataref;        /* subsystem specific data */
 };  };
Line 312  int vfs_mountedon(struct vnode *);/* is 
Line 308  int vfs_mountedon(struct vnode *);/* is 
 int     vfs_mountroot(void);  int     vfs_mountroot(void);
 void    vfs_shutdown(void);         /* unmount and sync file systems */  void    vfs_shutdown(void);         /* unmount and sync file systems */
 void    vfs_unmountall(struct lwp *);       /* unmount file systems */  void    vfs_unmountall(struct lwp *);       /* unmount file systems */
 int     vfs_busy(struct mount *, int, struct simplelock *);  int     vfs_busy(struct mount *, int, kmutex_t *);
 int     vfs_rootmountalloc(const char *, const char *, struct mount **);  int     vfs_rootmountalloc(const char *, const char *, struct mount **);
 void    vfs_unbusy(struct mount *);  void    vfs_unbusy(struct mount *);
 int     vfs_attach(struct vfsops *);  int     vfs_attach(struct vfsops *);
Line 327  int vfs_stdsuspendctl(struct mount *, in
Line 323  int vfs_stdsuspendctl(struct mount *, in
 extern  CIRCLEQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */  extern  CIRCLEQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */
 extern  struct vfsops *vfssw[];                 /* filesystem type table */  extern  struct vfsops *vfssw[];                 /* filesystem type table */
 extern  int nvfssw;  extern  int nvfssw;
 extern  struct simplelock mountlist_slock;  extern  kmutex_t mountlist_lock;
 extern  struct simplelock spechash_slock;  extern  kmutex_t spechash_lock;
 long    makefstype(const char *);  long    makefstype(const char *);
 int     dounmount(struct mount *, int, struct lwp *);  int     dounmount(struct mount *, int, struct lwp *);
 void    vfsinit(void);  void    vfsinit(void);

Legend:
Removed from v.1.155  
changed lines
  Added in v.1.155.2.2

CVSweb <webmaster@jp.NetBSD.org>