Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Define filesystem attributes with vfs dependency.



details:   https://anonhg.NetBSD.org/src/rev/5b8a9496f729
branches:  trunk
changeset: 803020:5b8a9496f729
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Oct 11 06:42:18 2014 +0000

description:
Define filesystem attributes with vfs dependency.

diffstat:

 sys/fs/adosfs/files.adosfs         |  3 ++-
 sys/fs/cd9660/files.cd9660         |  3 ++-
 sys/fs/efs/files.efs               |  3 ++-
 sys/fs/filecorefs/files.filecorefs |  3 ++-
 sys/fs/hfs/files.hfs               |  5 +++--
 sys/fs/msdosfs/files.msdosfs       |  3 ++-
 sys/fs/nfs/files.newnfs            |  4 +++-
 sys/fs/nilfs/files.nilfs           |  3 ++-
 sys/fs/ntfs/files.ntfs             |  3 ++-
 sys/fs/ptyfs/files.ptyfs           |  3 ++-
 sys/fs/puffs/files.puffs           |  3 ++-
 sys/fs/smbfs/files.smbfs           |  3 ++-
 sys/fs/sysvbfs/files.sysvbfs       |  3 ++-
 sys/fs/tmpfs/files.tmpfs           |  5 +++--
 sys/fs/udf/files.udf               |  3 ++-
 sys/fs/union/files.union           |  3 ++-
 sys/fs/unionfs/files.unionfs       |  3 ++-
 sys/fs/v7fs/files.v7fs             |  3 ++-
 sys/miscfs/fdesc/files.fdesc       |  3 ++-
 sys/miscfs/kernfs/files.kernfs     |  3 ++-
 sys/miscfs/nullfs/files.nullfs     |  3 ++-
 sys/miscfs/overlay/files.overlay   |  3 ++-
 sys/miscfs/procfs/files.procfs     |  3 ++-
 sys/miscfs/umapfs/files.umapfs     |  3 ++-
 sys/nfs/files.nfs                  |  3 ++-
 25 files changed, 53 insertions(+), 27 deletions(-)

diffs (truncated from 341 to 300 lines):

diff -r 969395dd630d -r 5b8a9496f729 sys/fs/adosfs/files.adosfs
--- a/sys/fs/adosfs/files.adosfs        Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/adosfs/files.adosfs        Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.adosfs,v 1.1 2002/12/23 17:15:27 jdolecek Exp $
+#      $NetBSD: files.adosfs,v 1.2 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  ADOSFS
 
+define adosfs: vfs
 file   fs/adosfs/adlookup.c    adosfs
 file   fs/adosfs/adutil.c      adosfs
 file   fs/adosfs/advfsops.c    adosfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/cd9660/files.cd9660
--- a/sys/fs/cd9660/files.cd9660        Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/cd9660/files.cd9660        Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.cd9660,v 1.1 2002/12/23 17:52:09 jdolecek Exp $
+#      $NetBSD: files.cd9660,v 1.2 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  CD9660
 
+define cd9660: vfs
 file   fs/cd9660/cd9660_bmap.c         cd9660
 file   fs/cd9660/cd9660_lookup.c       cd9660
 file   fs/cd9660/cd9660_node.c         cd9660
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/efs/files.efs
--- a/sys/fs/efs/files.efs      Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/efs/files.efs      Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.efs,v 1.2 2014/08/07 08:24:23 hannken Exp $
+#      $NetBSD: files.efs,v 1.3 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  EFS
 
+define efs: vfs
 file   fs/efs/efs_genfs.c              efs
 file   fs/efs/efs_subr.c               efs
 file   fs/efs/efs_vnops.c              efs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/filecorefs/files.filecorefs
--- a/sys/fs/filecorefs/files.filecorefs        Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/filecorefs/files.filecorefs        Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.filecorefs,v 1.3 2005/12/11 12:24:25 christos Exp $
+#      $NetBSD: files.filecorefs,v 1.4 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  FILECORE
 
+define filecore: vfs
 file   fs/filecorefs/filecore_bmap.c   filecore
 file   fs/filecorefs/filecore_lookup.c filecore
 file   fs/filecorefs/filecore_node.c   filecore
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/hfs/files.hfs
--- a/sys/fs/hfs/files.hfs      Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/hfs/files.hfs      Sat Oct 11 06:42:18 2014 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: files.hfs,v 1.3 2014/08/10 08:53:22 hannken Exp $
+#      $NetBSD: files.hfs,v 1.4 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  HFS
 
+define hfs: vfs
 file   fs/hfs/hfs_subr.c       hfs
 file   fs/hfs/hfs_vfsops.c     hfs
 file   fs/hfs/hfs_vnops.c      hfs
-file   fs/hfs/libhfs.c hfs
+file   fs/hfs/libhfs.c         hfs
 file   fs/hfs/unicode.c        hfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/msdosfs/files.msdosfs
--- a/sys/fs/msdosfs/files.msdosfs      Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/msdosfs/files.msdosfs      Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.msdosfs,v 1.1 2002/12/26 12:31:33 jdolecek Exp $
+#      $NetBSD: files.msdosfs,v 1.2 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  MSDOSFS
 
+define msdosfs: vfs
 file   fs/msdosfs/msdosfs_conv.c               msdosfs
 file   fs/msdosfs/msdosfs_denode.c             msdosfs
 file   fs/msdosfs/msdosfs_fat.c                msdosfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/nfs/files.newnfs
--- a/sys/fs/nfs/files.newnfs   Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/nfs/files.newnfs   Sat Oct 11 06:42:18 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.newnfs,v 1.1.1.1 2013/09/30 07:18:57 dholland Exp $
+#      $NetBSD: files.newnfs,v 1.2 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs NEW_NFSCLIENT
 defflag opt_newnfs.h                   NEW_NFS_BOOT_BOOTP
@@ -6,6 +6,8 @@
                                        NEW_NFSLOCKD
                                        NEW_NFS_BOOT
 
+# XXX
+define new_nfsclient: vfs
 file   fs/nfs/client/nfs_clbio.c        new_nfsclient
 file   fs/nfs/client/nfs_clcomsubs.c    new_nfsclient
 file   fs/nfs/client/nfs_clkrpc.c       new_nfsclient
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/nilfs/files.nilfs
--- a/sys/fs/nilfs/files.nilfs  Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/nilfs/files.nilfs  Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.nilfs,v 1.2 2010/03/02 16:43:48 pooka Exp $
+#      $NetBSD: files.nilfs,v 1.3 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  NILFS
 
+define nilfs: vfs
 file   fs/nilfs/nilfs_vfsops.c         nilfs
 file   fs/nilfs/nilfs_vnops.c          nilfs
 file   fs/nilfs/nilfs_subr.c           nilfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/ntfs/files.ntfs
--- a/sys/fs/ntfs/files.ntfs    Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/ntfs/files.ntfs    Sat Oct 11 06:42:18 2014 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: files.ntfs,v 1.2 2010/03/02 16:43:48 pooka Exp $
+#      $NetBSD: files.ntfs,v 1.3 2014/10/11 06:42:18 uebayasi Exp $
 
 deffs  NTFS
 
 defflag        opt_ntfs.h              NTFS_DEBUG
 
+define ntfs: vfs
 file   fs/ntfs/ntfs_compr.c    ntfs
 file   fs/ntfs/ntfs_conv.c     ntfs
 file   fs/ntfs/ntfs_ihash.c    ntfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/ptyfs/files.ptyfs
--- a/sys/fs/ptyfs/files.ptyfs  Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/ptyfs/files.ptyfs  Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.ptyfs,v 1.3 2010/03/02 16:43:48 pooka Exp $
+#      $NetBSD: files.ptyfs,v 1.4 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  PTYFS
 
+define ptyfs: vfs
 file   fs/ptyfs/ptyfs_subr.c   ptyfs
 file   fs/ptyfs/ptyfs_vfsops.c ptyfs
 file   fs/ptyfs/ptyfs_vnops.c  ptyfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/puffs/files.puffs
--- a/sys/fs/puffs/files.puffs  Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/puffs/files.puffs  Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.puffs,v 1.5 2010/07/06 16:13:57 pooka Exp $
+#      $NetBSD: files.puffs,v 1.6 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  PUFFS
 
+define puffs: vfs
 file   fs/puffs/puffs_compat.c         puffs
 file   fs/puffs/puffs_msgif.c          puffs
 file   fs/puffs/puffs_node.c           puffs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/smbfs/files.smbfs
--- a/sys/fs/smbfs/files.smbfs  Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/smbfs/files.smbfs  Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.smbfs,v 1.2 2003/03/02 22:06:50 jdolecek Exp $
+#      $NetBSD: files.smbfs,v 1.3 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  SMBFS
 
+define smbfs: vfs
 file   fs/smbfs/smbfs_io.c             smbfs
 file   fs/smbfs/smbfs_kq.c             smbfs
 file   fs/smbfs/smbfs_node.c           smbfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/sysvbfs/files.sysvbfs
--- a/sys/fs/sysvbfs/files.sysvbfs      Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/sysvbfs/files.sysvbfs      Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.sysvbfs,v 1.1 2005/12/29 14:53:45 tsutsui Exp $
+#      $NetBSD: files.sysvbfs,v 1.2 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  SYSVBFS
 
+define sysvbfs: vfs
 file   fs/sysvbfs/bfs.c                sysvbfs
 file   fs/sysvbfs/bfs_sysvbfs.c        sysvbfs
 file   fs/sysvbfs/sysvbfs.c            sysvbfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/tmpfs/files.tmpfs
--- a/sys/fs/tmpfs/files.tmpfs  Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/tmpfs/files.tmpfs  Sat Oct 11 06:42:18 2014 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: files.tmpfs,v 1.5 2012/05/09 00:16:07 riastradh Exp $
+#      $NetBSD: files.tmpfs,v 1.6 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  TMPFS
 
+define tmpfs: vfs
 file   fs/tmpfs/tmpfs_fifoops.c        tmpfs
 file   fs/tmpfs/tmpfs_mem.c            tmpfs
-file   fs/tmpfs/tmpfs_rename.c tmpfs
+file   fs/tmpfs/tmpfs_rename.c         tmpfs
 file   fs/tmpfs/tmpfs_specops.c        tmpfs
 file   fs/tmpfs/tmpfs_subr.c           tmpfs
 file   fs/tmpfs/tmpfs_vfsops.c         tmpfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/udf/files.udf
--- a/sys/fs/udf/files.udf      Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/udf/files.udf      Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.udf,v 1.5 2013/07/10 15:10:56 reinoud Exp $
+#      $NetBSD: files.udf,v 1.6 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  UDF
 
+define udf: vfs
 file   fs/udf/udf_osta.c               udf
 file   fs/udf/udf_vfsops.c             udf
 file   fs/udf/udf_vnops.c              udf
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/union/files.union
--- a/sys/fs/union/files.union  Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/union/files.union  Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.union,v 1.2 2010/03/02 16:43:48 pooka Exp $
+#      $NetBSD: files.union,v 1.3 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  UNION
 
+define union: vfs
 file   fs/union/union_subr.c           union
 file   fs/union/union_vfsops.c         union
 file   fs/union/union_vnops.c          union
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/unionfs/files.unionfs
--- a/sys/fs/unionfs/files.unionfs      Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/unionfs/files.unionfs      Sat Oct 11 06:42:18 2014 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: files.unionfs,v 1.2 2010/03/02 16:43:48 pooka Exp $
+#      $NetBSD: files.unionfs,v 1.3 2014/10/11 06:42:19 uebayasi Exp $
 
 deffs  UNIONFS
 
+define unionfs: vfs
 file   fs/unionfs/unionfs_subr.c       unionfs
 file   fs/unionfs/unionfs_vfsops.c     unionfs
 file   fs/unionfs/unionfs_vnops.c      unionfs
diff -r 969395dd630d -r 5b8a9496f729 sys/fs/v7fs/files.v7fs
--- a/sys/fs/v7fs/files.v7fs    Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/fs/v7fs/files.v7fs    Sat Oct 11 06:42:18 2014 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: files.v7fs,v 1.1 2011/06/27 11:52:24 uch Exp $
+#      $NetBSD: files.v7fs,v 1.2 2014/10/11 06:42:20 uebayasi Exp $
 
 deffs  V7FS
 defflag        opt_v7fs.h                      V7FS_EI
 
 # Core. OS independent. These files are used by userland program.(fsck,newfs)
+define v7fs: vfs
 file   fs/v7fs/v7fs_endian.c           v7fs
 file   fs/v7fs/v7fs_superblock.c       v7fs
 file   fs/v7fs/v7fs_inode.c            v7fs
diff -r 969395dd630d -r 5b8a9496f729 sys/miscfs/fdesc/files.fdesc
--- a/sys/miscfs/fdesc/files.fdesc      Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/miscfs/fdesc/files.fdesc      Sat Oct 11 06:42:18 2014 +0000
@@ -1,6 +1,7 @@
-#      $NetBSD: files.fdesc,v 1.3 2005/12/11 12:24:50 christos Exp $
+#      $NetBSD: files.fdesc,v 1.4 2014/10/11 06:42:20 uebayasi Exp $
 
 deffs  FDESC
 
+define fdesc: vfs
 file   miscfs/fdesc/fdesc_vfsops.c     fdesc
 file   miscfs/fdesc/fdesc_vnops.c      fdesc
diff -r 969395dd630d -r 5b8a9496f729 sys/miscfs/kernfs/files.kernfs
--- a/sys/miscfs/kernfs/files.kernfs    Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/miscfs/kernfs/files.kernfs    Sat Oct 11 06:42:18 2014 +0000
@@ -1,6 +1,7 @@
-#      $NetBSD: files.kernfs,v 1.5 2014/07/20 13:58:04 hannken Exp $
+#      $NetBSD: files.kernfs,v 1.6 2014/10/11 06:42:20 uebayasi Exp $
 
 deffs                                  KERNFS
 
+define kernfs: vfs
 file   miscfs/kernfs/kernfs_vfsops.c   kernfs
 file   miscfs/kernfs/kernfs_vnops.c    kernfs
diff -r 969395dd630d -r 5b8a9496f729 sys/miscfs/nullfs/files.nullfs
--- a/sys/miscfs/nullfs/files.nullfs    Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/miscfs/nullfs/files.nullfs    Sat Oct 11 06:42:18 2014 +0000
@@ -1,6 +1,7 @@
-#      $NetBSD: files.nullfs,v 1.3 2005/12/11 12:24:51 christos Exp $
+#      $NetBSD: files.nullfs,v 1.4 2014/10/11 06:42:20 uebayasi Exp $
 
 deffs  NULLFS
 
+define nullfs: vfs
 file   miscfs/nullfs/null_vfsops.c     nullfs
 file   miscfs/nullfs/null_vnops.c      nullfs
diff -r 969395dd630d -r 5b8a9496f729 sys/miscfs/overlay/files.overlay
--- a/sys/miscfs/overlay/files.overlay  Sat Oct 11 06:34:31 2014 +0000
+++ b/sys/miscfs/overlay/files.overlay  Sat Oct 11 06:42:18 2014 +0000
@@ -1,6 +1,7 @@
-#      $NetBSD: files.overlay,v 1.1 2002/04/16 23:14:08 thorpej Exp $
+#      $NetBSD: files.overlay,v 1.2 2014/10/11 06:42:20 uebayasi Exp $
 
 deffs  OVERLAY
 
+define overlay: vfs
 file   miscfs/overlay/overlay_vfsops.c overlay
 file   miscfs/overlay/overlay_vnops.c  overlay
diff -r 969395dd630d -r 5b8a9496f729 sys/miscfs/procfs/files.procfs
--- a/sys/miscfs/procfs/files.procfs    Sat Oct 11 06:34:31 2014 +0000



Home | Main Index | Thread Index | Old Index