From: Nathan Scott Date: Wed, 17 Jan 2001 01:56:10 +0000 (+0000) Subject: add a couple of dmapi headers to the set we cross check for consistency. X-Git-Tag: v1.1.0~1333 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=304b3e9eef7c723e1e7e38483f2dc3509732f667;p=xfstests-dev.git add a couple of dmapi headers to the set we cross check for consistency. --- diff --git a/tools/srcdiff b/tools/srcdiff index 6d091ac0..36b92152 100755 --- a/tools/srcdiff +++ b/tools/srcdiff @@ -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';