Changeset 5581b469 in mainline for uspace/lib/c/include/ipc/vfs.h


Ignore:
Timestamp:
2010-11-29T19:33:07Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f07f6b2
Parents:
7329e6a
Message:

Introduce new boolean properties into vfs_info_t.

The FS can set concurrent_read_write to true if it is ready to handle
concurrent reads and writes from/to one node.

The FS can set write_retains_size if its write method never modifies the
size of the node.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/vfs.h

    r7329e6a r5581b469  
    3636#define LIBC_IPC_VFS_H_
    3737
     38#include <ipc/ipc.h>
    3839#include <sys/types.h>
    39 #include <ipc/ipc.h>
     40#include <bool.h>
    4041
    4142#define FS_NAME_MAXLEN  20
     
    5556        /** Unique identifier of the fs. */
    5657        char name[FS_NAME_MAXLEN + 1];
     58        bool concurrent_read_write;
     59        bool write_retains_size;
    5760} vfs_info_t;
    5861
Note: See TracChangeset for help on using the changeset viewer.