Changeset f49b0ea in mainline for uspace/srv/vfs/vfs.h


Ignore:
Timestamp:
2008-06-06T15:16:41Z (16 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.h

    rf86c184 rf49b0ea  
    6666typedef enum {
    6767        VFS_LOOKUP = VFS_LAST_CMN,
     68        VFS_MOUNTED,
    6869        VFS_DESTROY,
    6970        VFS_LAST_CLNT,  /* keep this the last member of this enum */
     
    245246extern link_t fs_head;          /**< List of registered file systems. */
    246247
    247 extern vfs_triplet_t rootfs;    /**< Root node of the root file system. */
     248extern vfs_pair_t rootfs;       /**< Root file system. */
    248249
    249250#define MAX_PATH_LEN            (64 * 1024)
Note: See TracChangeset for help on using the changeset viewer.