Changes in uspace/srv/vfs/vfs_file.c [3e6a98c5:1393bbb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_file.c
r3e6a98c5 r1393bbb 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.