Diff for /src/sys/vfs/nwfs/nwfs_vfsops.c between versions 1.9 and 1.10

version 1.9, 2004/03/01 06:33:22 version 1.10, 2004/04/22 17:56:44
Line 140  nwfs_initnls(struct nwmount *nmp) { Line 140  nwfs_initnls(struct nwmount *nmp) {
  * mp - path - addr in user space of mount point (ie /usr or whatever)   * mp - path - addr in user space of mount point (ie /usr or whatever)
  * data - addr in user space of mount params    * data - addr in user space of mount params 
  */   */
static int nwfs_mount(struct mount *mp, char *path, caddr_t data, static int
                      struct nameidata *ndp, struct thread *td)nwfs_mount(struct mount *mp, char *path, caddr_t data, 
            struct nameidata *ndp, struct thread *td)
 {  {
         struct nwfs_args args;    /* will hold data from mount request */          struct nwfs_args args;    /* will hold data from mount request */
         size_t size;          size_t size;
Line 271  nwfs_unmount(struct mount *mp, int mntfl Line 272  nwfs_unmount(struct mount *mp, int mntfl
   
 /*  Return locked vnode to root of a filesystem */  /*  Return locked vnode to root of a filesystem */
 static int  static int
nwfs_root(struct mount *mp, struct vnode **vpp) {nwfs_root(struct mount *mp, struct vnode **vpp)
 {
         struct vnode *vp;          struct vnode *vp;
         struct nwmount *nmp;          struct nwmount *nmp;
         struct nwnode *np;          struct nwnode *np;
Line 371  nwfs_root(struct mount *mp, struct vnode Line 373  nwfs_root(struct mount *mp, struct vnode
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 static int  static int
nwfs_start(mp, flags, td)nwfs_start(struct mount *mp, int flags, struct thread *td)
        struct mount *mp; 
        int flags; 
        struct thread *td; 
 {  {
         NCPVODEBUG("flags=%04x\n",flags);          NCPVODEBUG("flags=%04x\n",flags);
         return (0);          return (0);
Line 385  nwfs_start(mp, flags, td) Line 384  nwfs_start(mp, flags, td)
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 static int  static int
nwfs_quotactl(mp, cmd, uid, arg, td)nwfs_quotactl(struct mount *mp, int cmd, uid_t uid, caddr_t arg,
        struct mount *mp;              struct thread *td)
        int cmd; 
        uid_t uid; 
        caddr_t arg; 
        struct thread *td; 
 {  {
         NCPVODEBUG("return EOPNOTSUPP\n");          NCPVODEBUG("return EOPNOTSUPP\n");
         return (EOPNOTSUPP);          return (EOPNOTSUPP);
Line 430  nwfs_uninit(struct vfsconf *vfsp) Line 425  nwfs_uninit(struct vfsconf *vfsp)
  * nwfs_statfs call   * nwfs_statfs call
  */   */
 int  int
nwfs_statfs(mp, sbp, td)nwfs_statfs(struct mount *mp, struct statfs *sbp, struct thread *td)
        struct mount *mp; 
        struct statfs *sbp; 
        struct thread *td; 
 {  {
         struct nwmount *nmp = VFSTONWFS(mp);          struct nwmount *nmp = VFSTONWFS(mp);
         int error = 0, secsize;          int error = 0, secsize;
Line 480  nwfs_statfs(mp, sbp, td) Line 472  nwfs_statfs(mp, sbp, td)
  */   */
 /* ARGSUSED */  /* ARGSUSED */
 static int  static int
nwfs_sync(mp, waitfor, td)nwfs_sync(struct mount *mp, int waitfor, struct thread *td)
        struct mount *mp; 
        int waitfor; 
        struct thread *td; 
 {  {
         struct vnode *vp;          struct vnode *vp;
         int error, allerror = 0;          int error, allerror = 0;

Removed from v.1.9  
changed lines
  Added in v.1.10