summaryrefslogtreecommitdiffstats
path: root/sys/gnu/fs/xfs/xfs_trans.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-06-01 19:01:47 +0000
committerimp <imp@FreeBSD.org>2006-06-01 19:01:47 +0000
commita5403d89c2ba8a650798cf29f2b84282f25a08a7 (patch)
treef85f196cbf43dac47d72521176d26c1f2d08eece /sys/gnu/fs/xfs/xfs_trans.c
parent55e41f7b78653de1bd2f8c4673126a703c346735 (diff)
downloadFreeBSD-src-a5403d89c2ba8a650798cf29f2b84282f25a08a7.zip
FreeBSD-src-a5403d89c2ba8a650798cf29f2b84282f25a08a7.tar.gz
Cope with -Wundef. This means including xfs_macros.h early in a few more
files and changing #if XXXKAN -> #ifdef XXXKAN. # this is just compile tested, since I don't have xfs partitions.
Diffstat (limited to 'sys/gnu/fs/xfs/xfs_trans.c')
-rw-r--r--sys/gnu/fs/xfs/xfs_trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/fs/xfs/xfs_trans.c b/sys/gnu/fs/xfs/xfs_trans.c
index 720c822..d614ab3 100644
--- a/sys/gnu/fs/xfs/xfs_trans.c
+++ b/sys/gnu/fs/xfs/xfs_trans.c
@@ -537,7 +537,7 @@ xfs_trans_apply_sb_deltas(
offsetof(xfs_sb_t, sb_frextents) +
sizeof(sbp->sb_frextents) - 1);
-#if XXXKAN
+#ifdef XXXKAN
XFS_MTOVFS(tp->t_mountp)->vfs_super->s_dirt = 1;
#endif
printf("XFS_MTOVFS(tp->t_mountp)->vfs_super->s_dirt = 1;");
OpenPOWER on IntegriCloud