Changeset cb65bbe in mainline for uspace/srv/vfs/vfs_file.c


Ignore:
Timestamp:
2013-07-23T22:43:48Z (11 years ago)
Author:
Ji?? Z?rev?cky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b18364
Parents:
c442f63
Message:

Implement server side of VFS_WALK and VFS_OPEN2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_file.c

    rc442f63 rcb65bbe  
    177177                 * endpoint FS and drop our reference to the underlying VFS node.
    178178                 */
    179                 rc = vfs_file_close_remote(file);
     179                if (file->open_read || file->open_write) {
     180                        rc = vfs_file_close_remote(file);
     181                }
    180182                vfs_node_delref(file->node);
    181183                free(file);
Note: See TracChangeset for help on using the changeset viewer.