@@ -2152,9 +2152,9 @@ bulkstat_f(int opno, long r)
int fd;
__u64 last;
int nent;
- xfs_bstat_t *t;
+ struct xfs_bstat *t;
int64_t total;
- xfs_fsop_bulkreq_t bsr;
+ struct xfs_fsop_bulkreq bsr;
last = 0;
nent = (r % 999) + 2;
@@ -2185,9 +2185,9 @@ bulkstat1_f(int opno, long r)
int good;
__u64 ino;
struct stat64 s;
- xfs_bstat_t t;
+ struct xfs_bstat t;
int v;
- xfs_fsop_bulkreq_t bsr;
+ struct xfs_fsop_bulkreq bsr;
good = random() & 1;
@@ -20,7 +20,7 @@ dotime(void *ti, char *s)
}
void
-printbstat(xfs_bstat_t *sp)
+printbstat(struct xfs_bstat *sp)
{
printf("ino %lld mode %#o nlink %d uid %d gid %d rdev %#x\n",
(long long)sp->bs_ino, sp->bs_mode, sp->bs_nlink,
@@ -64,7 +64,7 @@ main(int argc, char **argv)
int quiet = 0;
int statit = 0;
int verbose = 0;
- xfs_bstat_t *t;
+ struct xfs_bstat *t;
int ret;
jdm_fshandle_t *fshandlep = NULL;
int fd;
@@ -73,7 +73,7 @@ main(int argc, char **argv)
char *cc_readlinkbufp;
int cc_readlinkbufsz;
int c;
- xfs_fsop_bulkreq_t bulkreq;
+ struct xfs_fsop_bulkreq bulkreq;
while ((c = getopt(argc, argv, "cdl:qv")) != -1) {
switch (c) {
@@ -26,8 +26,8 @@ main(int argc, char *argv[])
struct stat sbuf;
ino_t *inodelist;
- xfs_fsop_bulkreq_t a;
- xfs_bstat_t *ret;
+ struct xfs_fsop_bulkreq a;
+ struct xfs_bstat *ret;
int iterations;
char fname[MAXPATHLEN];
char *dirname;
@@ -60,7 +60,7 @@ main(int argc, char *argv[])
printf("Runing extended checks.\n");
inodelist = (ino_t *)malloc(nfiles * sizeof(ino_t));
- ret = (xfs_bstat_t *)malloc(nfiles * sizeof(xfs_bstat_t));
+ ret = (struct xfs_bstat *)malloc(nfiles * sizeof(struct xfs_bstat));
for (k=0; k < iterations; k++) {
int fd[nfiles + 1];
@@ -69,7 +69,7 @@ main(int argc, char *argv[])
printf("Iteration %d ... (%d files)", k, nfiles);
- memset(&a, 0, sizeof(xfs_fsop_bulkreq_t));
+ memset(&a, 0, sizeof(struct xfs_fsop_bulkreq));
a.lastip = (__u64 *)&last_inode;
a.icount = nfiles;
a.ubuffer = ret;
@@ -27,8 +27,8 @@ main(int argc, char *argv[])
struct stat sbuf;
ino_t *inodelist;
__u32 *genlist;
- xfs_fsop_bulkreq_t a;
- xfs_bstat_t *ret;
+ struct xfs_fsop_bulkreq a;
+ struct xfs_bstat *ret;
int iterations;
char fname[MAXPATHLEN];
char *dirname;
@@ -50,7 +50,7 @@ main(int argc, char *argv[])
inodelist = (ino_t *)malloc(nfiles * sizeof(ino_t));
genlist = (__u32 *)malloc(nfiles * sizeof(__u32));
- ret = (xfs_bstat_t *)malloc(nfiles * sizeof(xfs_bstat_t));
+ ret = (struct xfs_bstat *)malloc(nfiles * sizeof(struct xfs_bstat));
for (k=0; k < iterations; k++) {
xfs_ino_t last_inode = 0;
@@ -61,8 +61,8 @@ main(int argc, char *argv[])
memset(inodelist, 0, nfiles * sizeof(ino_t));
memset(genlist, 0, nfiles * sizeof(__u32));
- memset(ret, 0, nfiles * sizeof(xfs_bstat_t));
- memset(&a, 0, sizeof(xfs_fsop_bulkreq_t));
+ memset(ret, 0, nfiles * sizeof(struct xfs_bstat));
+ memset(&a, 0, sizeof(struct xfs_fsop_bulkreq));
a.lastip = (__u64 *)&last_inode;
a.icount = nfiles;
a.ubuffer = ret;
@@ -228,8 +228,8 @@ static int test_immutable(const char *dir)
if (stfs.f_type == XFS_SUPER_MAGIC && !getuid()) {
jdm_fshandle_t *fshandle;
- xfs_bstat_t bstat;
- xfs_fsop_bulkreq_t bulkreq;
+ struct xfs_bstat bstat;
+ struct xfs_fsop_bulkreq bulkreq;
xfs_ino_t ino;
char *dirpath;
@@ -903,8 +903,8 @@ static int test_append(const char *dir)
if (stfs.f_type == XFS_SUPER_MAGIC && !getuid()) {
jdm_fshandle_t *fshandle;
- xfs_bstat_t bstat;
- xfs_fsop_bulkreq_t bulkreq;
+ struct xfs_bstat bstat;
+ struct xfs_fsop_bulkreq bulkreq;
xfs_ino_t ino;
char *dirpath;
@@ -1288,8 +1288,8 @@ static int test_append(const char *dir)
if (stfs.f_type == XFS_SUPER_MAGIC && !getuid()) {
jdm_fshandle_t *fshandle;
- xfs_bstat_t bstat;
- xfs_fsop_bulkreq_t bulkreq;
+ struct xfs_bstat bstat;
+ struct xfs_fsop_bulkreq bulkreq;
xfs_ino_t ino;
char *dirpath;