#include <linux/lustre_version.h>
void l_check_no_ns_lock(struct ldlm_namespace *ns)
{
- static long next_msg;
+ static unsigned long next_msg;
if (l_has_lock(&ns->ns_lock) && time_after(jiffies, next_msg)) {
CERROR("namespace %s lock held during RPCs; tell phil\n",
count = desc->ld_tgt_count;
uuids = (struct obd_uuid *)lcfg->lcfg_inlbuf2;
if (sizeof(*uuids) * count != lcfg->lcfg_inllen2) {
- CERROR("UUID array size wrong: %u * %u != %u\n",
+ CERROR("UUID array size wrong: "LPSZ" * %u != %u\n",
sizeof(*uuids), count, lcfg->lcfg_inllen2);
RETURN(-EINVAL);
}
__u64 last_rcvd, void *handle,
fsfilt_cb_t cb_func, void *cb_data)
{
- static long next = 0;
+ static unsigned long next = 0;
if (time_after(jiffies, next)) {
CERROR("no journal callback kernel patch, faking it...\n");
uncanceled++;
}
- l = snprintf(out, remains, "[Log Name]: %s\nLog Size: "LPD64"\n"
+ l = snprintf(out, remains, "[Log Name]: %s\nLog Size: %llu\n"
"Last Index: %d\nUncanceled Records: %d\n\n",
name[i],
handle->lgh_file->f_dentry->d_inode->i_size,
}
l = snprintf(out, remains, "\t[Log ID]: #"LPX64"#"LPX64"#%08x\n"
- "\tLog Size: "LPD64"\n\tLast Index: %d\n"
+ "\tLog Size: %llu\n\tLast Index: %d\n"
"\tUncanceled Records: %d\n",
logid->lgl_oid, logid->lgl_ogr, logid->lgl_ogen,
handle->lgh_file->f_dentry->d_inode->i_size,