mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
add a couple of dmapi headers to the set we cross check for consistency.
This commit is contained in:
+12
-10
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user