wcc->before.pre_op_attr_u.attributes.ctime.seconds = inode->ctime / 1000000;
wcc->before.pre_op_attr_u.attributes.ctime.nseconds = (inode->ctime % 1000000) * 1000;
}
+
void *
nfsproc3_null_3_svc(void *argp, struct svc_req *rqstp)
{
file->nlink = 1;
file->mode = 0755;
int64_t time = bluesky_get_current_time();
- printf("time: %lld\n", time);
+ printf("time: %"PRIi64"\n", time);
file->mtime = time;
file->ctime = time;
file->atime = time;
static entry3 dirents[MAX_READDIR_DIRENTS];
int count = 0;
- BlueSkyDirent start = {NULL, argp->cookie, 0};
+ BlueSkyDirent start = {NULL, NULL, argp->cookie, 0};
GSequenceIter *i = g_sequence_search(dir->dirents, &start,
bluesky_dirent_compare, NULL);