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


Ignore:
Timestamp:
2007-12-14T18:12:17Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
74303b6
Parents:
5832e9b
Message:

VFS work.
During VFS_REGISTER, use strncmp() instead of strcmp().
Add one excessive convenience byte to vfs_info.name to support the
above-mentioned change. In case the fs name spans all available
characters, make sure this convenience byte is zero.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    r5832e9b rcc76be3  
    8484typedef struct {
    8585        /** Unique identifier of the fs. */
    86         char name[FS_NAME_MAXLEN];
     86        char name[FS_NAME_MAXLEN + 1];
    8787       
    8888        /** Operations. */
Note: See TracChangeset for help on using the changeset viewer.