Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 2709 → Rev 2710

/trunk/uspace/srv/vfs/vfs_ops.c
470,11 → 470,13
rwlock_read_unlock(&file->node->contents_rwlock);
else {
/* Update the cached version of node's size. */
if (rc == EOK)
file->node->size = IPC_GET_ARG2(answer);
rwlock_write_unlock(&file->node->contents_rwlock);
}
 
/* Update the position pointer and unlock the open file. */
if (rc == EOK)
file->pos += bytes;
futex_up(&file->lock);