Enabling CONFIG_XFS_DEBUG as well as XFS_TRANS_DEBUG (by editing the
makefile) results in a compile error:
$ make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC [M] fs/xfs/xfs_rtalloc.o
CC [M] fs/xfs/xfs_acl.o
CC [M] fs/xfs/linux-2.6/xfs_stats.o
CC [M] fs/xfs/linux-2.6/xfs_sysctl.o
CC [M] fs/xfs/xfs_alloc.o
CC [M] fs/xfs/xfs_alloc_btree.o
CC [M] fs/xfs/xfs_attr.o
CC [M] fs/xfs/xfs_attr_leaf.o
CC [M] fs/xfs/xfs_bit.o
CC [M] fs/xfs/xfs_bmap.o
CC [M] fs/xfs/xfs_bmap_btree.o
CC [M] fs/xfs/xfs_btree.o
CC [M] fs/xfs/xfs_buf_item.o
fs/xfs/xfs_buf_item.c: In function â??xfs_buf_item_log_debugâ??:
fs/xfs/xfs_buf_item.c:64: error: implicit declaration of function â??bfsetâ??
fs/xfs/xfs_buf_item.c: In function â??xfs_buf_item_log_checkâ??:
fs/xfs/xfs_buf_item.c:127: error: implicit declaration of function â??btstâ??
fs/xfs/xfs_buf_item.c:130: warning: format â??%xâ?? expects type â??unsigned
intâ??, but argument 3 has type â??struct xfs_buf_log_item_t *â??
fs/xfs/xfs_buf_item.c:130: warning: format â??%xâ?? expects type â??unsigned
intâ??, but argument 4 has type â??struct xfs_buf_t *â??
fs/xfs/xfs_buf_item.c:130: warning: format â??%xâ?? expects type â??unsigned
intâ??, but argument 5 has type â??char *â??
make[2]: *** [fs/xfs/xfs_buf_item.o] Error 1
make[1]: *** [fs/xfs] Error 2
make: *** [fs] Error 2
|