From: Nathan Scott Date: Tue, 20 Jan 2004 05:01:36 +0000 (+0000) Subject: Fix build fallout from last kernel/user sync-up. X-Git-Tag: v2.7.0~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92217f0ce1c6fa0253259a71462e5aa2be005e8a;p=thirdparty%2Fxfsprogs-dev.git Fix build fallout from last kernel/user sync-up. --- 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 */