add a couple of dmapi headers to the set we cross check for consistency.
authorNathan Scott <nathans@sgi.com>
Wed, 17 Jan 2001 01:56:10 +0000 (01:56 +0000)
committerNathan Scott <nathans@sgi.com>
Wed, 17 Jan 2001 01:56:10 +0000 (01:56 +0000)
tools/srcdiff

index 6d091ac0d8a48b0ba88f62025c6256f2f7b9a464..36b9215207c54f3a3a427232a5ce35e5cf1e969f 100755 (executable)
@@ -13,7 +13,7 @@ use strict;
 # 
 # NB: to cross check that srcdiff is finding all the functions in the
 #     user source file, providing you have "mkproto" installed, you
-#     can "cd cmd/xfs/libxfs" and cut&paste this into a bourne shell:
+#     can "cd cmd/xfsprogs/libxfs" and cut&paste this in a bourne shell:
 #     $ for file in xfs_*.c; do
 #     > mkproto -nps < $file | perl -ne '
 #     > END { print "    $count\t- " }
@@ -74,14 +74,16 @@ sub straightdiff {
 
 print "\n=== Checking headers ===\n";
 foreach (@difflist) {
-       straightdiff $_, 'cmd/xfs/include', 'linux/fs/xfs';
+       straightdiff $_, 'cmd/xfsprogs/include', 'linux/fs/xfs';
 }
-straightdiff 'xfs_cred.h', 'cmd/xfs/include', 'linux/fs/xfs/linux';
-straightdiff 'xfs_fs.h', 'cmd/xfs/include', 'linux/include/linux';
-straightdiff 'attributes.h', 'cmd/xfs/include', 'linux/include/linux';
+straightdiff 'xfs_cred.h', 'cmd/xfsprogs/include', 'linux/fs/xfs/linux';
+straightdiff 'xfs_fs.h', 'cmd/xfsprogs/include', 'linux/include/linux';
+straightdiff 'attributes.h', 'cmd/attr/include', 'linux/include/linux';
+straightdiff 'dmapi_kern.h', 'cmd/dmapi/include', 'linux/include/linux';
+straightdiff 'dmapi.h', 'cmd/dmapi/include', 'linux/include/linux';
 straightdiff 'acl.h', 'cmd/acl/include', 'linux/include/linux';
-straightdiff 'arch.h', 'cmd/xfs/include', 'linux/fs/xfs/support';
-straightdiff 'xqm.h', 'cmd/xfs/include', 'linux/include/linux';
+straightdiff 'arch.h', 'cmd/xfsprogs/include', 'linux/fs/xfs/support';
+straightdiff 'xqm.h', 'cmd/xfsprogs/include', 'linux/include/linux';
 
 # 
 # setstate
@@ -248,7 +250,7 @@ sub functiondiff {
        print "( Total: $count routine$plural checked in $file )\n" unless ($quiet);
 }
 
-# cmd/xfs/{libxfs,logprint}/* fs/xfs/*
+# cmd/xfsprogs/{libxfs,logprint}/* fs/xfs/*
 my @funclist = qw(
        xfs_alloc.c  xfs_alloc_btree.c  xfs_attr_leaf.c  xfs_bit.c
        xfs_bmap.c  xfs_bmap_btree.c  xfs_btree.c  xfs_da_btree.c
@@ -261,7 +263,7 @@ my @funclist = qw(
 
 print "\n=== Checking libxfs code ===\n";
 foreach (@funclist) {
-       functiondiff $_, 'cmd/xfs/libxfs', 'linux/fs/xfs';
+       functiondiff $_, 'cmd/xfsprogs/libxfs', 'linux/fs/xfs';
 }
 print "\n=== Checking logprint code ===\n";
-functiondiff 'xfs_log_recover.c', 'cmd/xfs/logprint', 'linux/fs/xfs';
+functiondiff 'xfs_log_recover.c', 'cmd/xfsprogs/logprint', 'linux/fs/xfs';