Changeset f49b0ea in mainline for uspace/srv/vfs/vfs_lookup.c


Ignore:
Timestamp:
2008-06-06T15:16:41Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cde485d
Parents:
f86c184
Message:

Split the 'mount another filesystem here' and 'you are being mounted and the
device is this' mount semantics. Add VFS_MOUNTED VFS operation that corresponds
to the latter and reserve VFS_MOUNT only for the former. Because of this
change, the VFS server does not maintain the mr_node VFS node for the name space
root anymore and the VFS_LOOKUP operation is now not meant to be used on
unmounted file system, not even for looking up the root node of unmounted file
systems. In the light of these changes, TMPFS is now initialized from
tmpfs_mounted() function.

File:
1 edited

Legend:

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

    rf86c184 rf49b0ea  
    7373                root = altroot;
    7474        else
    75                 root = (vfs_pair_t *) &rootfs;
     75                root = &rootfs;
    7676
    7777        if (!root->fs_handle)
Note: See TracChangeset for help on using the changeset viewer.