Changeset 1dff985 in mainline for uspace/srv/vfs/vfs_file.c
- Timestamp:
- 2017-03-03T21:32:38Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- c577a9a
- Parents:
- 5b46ec8 (diff), b8dbe2f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_file.c
r5b46ec8 r1dff985 177 177 * endpoint FS and drop our reference to the underlying VFS node. 178 178 */ 179 rc = vfs_file_close_remote(file); 179 if (file->open_read || file->open_write) { 180 rc = vfs_file_close_remote(file); 181 } 180 182 vfs_node_delref(file->node); 181 183 free(file); … … 393 395 */ 394 396 acceptor_file->node = donor_file->node; 397 acceptor_file->permissions = donor_file->permissions; 398 399 // TODO: The file should not inherit its open status, but clients depend on this. 400 acceptor_file->pos = donor_file->pos; 395 401 acceptor_file->append = donor_file->append; 396 acceptor_file->pos = donor_file->pos; 402 acceptor_file->open_read = donor_file->open_read; 403 acceptor_file->open_write = donor_file->open_write; 397 404 398 405 out:
Note:
See TracChangeset
for help on using the changeset viewer.