From 92217f0ce1c6fa0253259a71462e5aa2be005e8a Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 20 Jan 2004 05:01:36 +0000 Subject: [PATCH] Fix build fallout from last kernel/user sync-up. --- repair/sb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/repair/sb.c b/repair/sb.c index 4924dc3f4..3eea31c96 100644 --- a/repair/sb.c +++ b/repair/sb.c @@ -36,6 +36,10 @@ #include "protos.h" #include "err_protos.h" +#define BSIZE (1024 * 1024) + +#define XFS_AG_BYTES(bblog) ((long long)BBSIZE << (bblog)) +#define XFS_AG_MIN_BYTES ((XFS_AG_BYTES(15))) /* 16 MB */ /* * copy the fields of a superblock that are present in primary and @@ -90,8 +94,6 @@ copy_sb(xfs_sb_t *source, xfs_sb_t *dest) bzero(source->sb_fname, 12); } -#define BSIZE (1024 * 1024) - /* * find a secondary superblock, copy it into the sb buffer */ -- 2.47.2