BlueSkyInode *inode = lookup_fh(req, &argp->file);
if (inode == NULL) {
result.status = NFS3ERR_STALE;
BlueSkyInode *inode = lookup_fh(req, &argp->file);
if (inode == NULL) {
result.status = NFS3ERR_STALE;
BlueSkyInode *inode = lookup_fh(req, &argp->file);
if (inode == NULL) {
result.status = NFS3ERR_STALE;
BlueSkyInode *inode = lookup_fh(req, &argp->file);
if (inode == NULL) {
result.status = NFS3ERR_STALE;
/* FIXME: Hack to throttle writes when there is too much dirty data still
* to be written out. */
while (g_atomic_int_get(&fs->cache_dirty) > 4096
/* FIXME: Hack to throttle writes when there is too much dirty data still
* to be written out. */
while (g_atomic_int_get(&fs->cache_dirty) > 4096
while (count < MAX_READDIR_DIRENTS && !g_sequence_iter_is_end(i)) {
BlueSkyDirent *d = g_sequence_get(i);
BlueSkyInode *inode = bluesky_get_inode(fs, d->inum);
while (count < MAX_READDIR_DIRENTS && !g_sequence_iter_is_end(i)) {
BlueSkyDirent *d = g_sequence_get(i);
BlueSkyInode *inode = bluesky_get_inode(fs, d->inum);
g_mutex_lock(inode->lock);
encode_pre_wcc(&result.commit3res_u.resok.file_wcc, inode);
g_mutex_lock(inode->lock);
encode_pre_wcc(&result.commit3res_u.resok.file_wcc, inode);
result.commit3res_u.resok.file_wcc.after.present = TRUE;
encode_fattr3(&result.commit3res_u.resok.file_wcc.after.post_op_attr_u.attributes, inode);
result.commit3res_u.resok.file_wcc.after.present = TRUE;
encode_fattr3(&result.commit3res_u.resok.file_wcc.after.post_op_attr_u.attributes, inode);