Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2686 → Rev 2687

/trunk/uspace/srv/vfs/vfs_rdwr.c
129,8 → 129,11
*/
if (read)
rwlock_reader_unlock(&file->node->contents_rwlock);
else
else {
/* Update the cached version of node's size. */
file->node->size = IPC_GET_ARG2(answer);
rwlock_writer_unlock(&file->node->contents_rwlock);
}
 
/*
* Update the position pointer and unlock the open file.