Changes in uspace/srv/vfs/vfs_file.c [1393bbb:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_file.c
r1393bbb r3e6a98c5 177 177 * endpoint FS and drop our reference to the underlying VFS node. 178 178 */ 179 if (file->open_read || file->open_write) { 180 rc = vfs_file_close_remote(file); 181 } 179 rc = vfs_file_close_remote(file); 182 180 vfs_node_delref(file->node); 183 181 free(file); … … 395 393 */ 396 394 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. 395 acceptor_file->append = donor_file->append; 400 396 acceptor_file->pos = donor_file->pos; 401 acceptor_file->append = donor_file->append;402 acceptor_file->open_read = donor_file->open_read;403 acceptor_file->open_write = donor_file->open_write;404 397 405 398 out:
Note:
See TracChangeset
for help on using the changeset viewer.