*/
/*
* This file is part of Lustre, http://www.lustre.org/
- * Lustre is a trademark of Sun Microsystems, Inc.
*
* lustre/utils/ll_decode_filter_fid.c
*
#include <asm/byteorder.h>
#include <linux/lustre/lustre_user.h>
-#define PFID_STRIPE_IDX_BITS 16
-#define PFID_STRIPE_COUNT_MASK ((1 << PFID_STRIPE_IDX_BITS) - 1)
-
#if __BYTE_ORDER == __BIG_ENDIAN
static void lustre_swab_lu_fid(struct lu_fid *fid)
{
"component_start=%llu "
"component_end=%llu",
loa->loa_comp_id,
- loa->loa_comp_start,
- loa->loa_comp_end);
+ (unsigned long long)loa->loa_comp_start,
+ (unsigned long long)loa->loa_comp_end);
printf("\n");
continue;
}
"component_start=%llu "
"component_end=%llu",
__le32_to_cpu(ol->ol_comp_id),
+ (unsigned long long)
__le64_to_cpu(ol->ol_comp_start),
+ (unsigned long long)
__le64_to_cpu(ol->ol_comp_end));
}
if (size >= sizeof(struct filter_fid))