Changeset 39330200 in mainline for uspace/lib/c/generic/vfs/mtab.c


Ignore:
Timestamp:
2018-01-15T21:40:49Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba29018
Parents:
d8023313
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:20:07)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-15 21:40:49)
Message:

Rename struct stat and struct statfs to vfs_stat_t and vfs_statfs_t,
respectively. They are nonstandard vestiges of times when native file API
was modeled after POSIX API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vfs/mtab.c

    rd8023313 r39330200  
    4242#include <str.h>
    4343
    44 static void process_mp(const char *path, struct stat *stat, list_t *mtab_list)
     44static void process_mp(const char *path, vfs_stat_t *stat, list_t *mtab_list)
    4545{
    4646        mtab_ent_t *ent;
     
    5454        ent->service_id = stat->service_id;
    5555
    56         struct statfs stfs;
     56        vfs_statfs_t stfs;
    5757        if (vfs_statfs_path(path, &stfs) == EOK)
    5858                str_cpy(ent->fs_name, sizeof(ent->fs_name), stfs.fs_name);
     
    7575        while ((dirent = readdir(dir)) != NULL) {
    7676                char *child;
    77                 struct stat st;
     77                vfs_stat_t st;
    7878                errno_t rc;
    7979                int ret;
     
    123123errno_t vfs_get_mtab_list(list_t *mtab_list)
    124124{
    125         struct stat st;
     125        vfs_stat_t st;
    126126
    127127        errno_t rc = vfs_stat_path("/", &st);
Note: See TracChangeset for help on using the changeset viewer.