]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Fix build fallout from last kernel/user sync-up.
authorNathan Scott <nathans@sgi.com>
Tue, 20 Jan 2004 05:01:36 +0000 (05:01 +0000)
committerNathan Scott <nathans@sgi.com>
Tue, 20 Jan 2004 05:01:36 +0000 (05:01 +0000)
repair/sb.c

index 4924dc3f48cbefdef94f1186933a3984066a0a7f..3eea31c96f7e0bc9edf3d0f3df4e0a4a15b8e566 100644 (file)
 #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
  */