Changeset 5a2b765 in mainline for uspace/lib/c/include/sys/statfs.h


Ignore:
Timestamp:
2017-03-16T17:17:31Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39c3b7f9
Parents:
8ffedd8
Message:

Add the FS name field to struct statfs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/sys/statfs.h

    r8ffedd8 r5a2b765  
    3737
    3838#include <sys/types.h>
     39#include <ipc/vfs.h>
    3940
    4041struct statfs {
    41         uint32_t    f_type;     /* type of file system  */
    42         uint32_t    f_bsize;    /* fundamental file system block size */
    43         uint64_t    f_blocks;   /* total data blocks in file system */
    44         uint64_t    f_bfree;    /* free blocks in fs */
     42        char fs_name[FS_NAME_MAXLEN + 1];
     43        uint32_t f_bsize;    /* fundamental file system block size */
     44        uint64_t f_blocks;   /* total data blocks in file system */
     45        uint64_t f_bfree;    /* free blocks in fs */
    4546};
    4647
Note: See TracChangeset for help on using the changeset viewer.