[BACK]Return to v7fs_vfsops.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / fs / v7fs

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

Diff for /src/sys/fs/v7fs/v7fs_vfsops.c between version 1.12 and 1.12.4.1

version 1.12, 2014/12/29 15:29:38 version 1.12.4.1, 2017/04/21 16:54:02
Line 369  v7fs_statvfs(struct mount *mp, struct st
Line 369  v7fs_statvfs(struct mount *mp, struct st
 static bool  static bool
 v7fs_sync_selector(void *cl, struct vnode *vp)  v7fs_sync_selector(void *cl, struct vnode *vp)
 {  {
         struct v7fs_node *v7fs_node = vp->v_data;          struct v7fs_node *v7fs_node;
   
           KASSERT(mutex_owned(vp->v_interlock));
   
           v7fs_node = vp->v_data;
         if (v7fs_node == NULL)          if (v7fs_node == NULL)
                 return false;                  return false;
         if (!v7fs_inode_allocated(&v7fs_node->inode))          if (!v7fs_inode_allocated(&v7fs_node->inode))
Line 576  v7fs_mountroot(void)
Line 579  v7fs_mountroot(void)
   
         if ((error = v7fs_mountfs(rootvp, mp, _BYTE_ORDER))) {          if ((error = v7fs_mountfs(rootvp, mp, _BYTE_ORDER))) {
                 DPRINTF("mountfs error=%d\n", error);                  DPRINTF("mountfs error=%d\n", error);
                 vfs_unbusy(mp, false, NULL);                  vfs_unbusy(mp);
                 vfs_destroy(mp);                  vfs_rele(mp);
                 return error;                  return error;
         }          }
   
         mountlist_append(mp);          mountlist_append(mp);
   
         vfs_unbusy(mp, false, NULL);          vfs_unbusy(mp);
   
         return 0;          return 0;
 }  }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.12.4.1

CVSweb <webmaster@jp.NetBSD.org>