Changeset 4f30222 in mainline for uspace/lib/fs


Ignore:
Timestamp:
2017-05-16T21:58:20Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3ec2acc
Parents:
dde4689
Message:

VFS_OUT_MOUNTED does not need to return the link count

Location:
uspace/lib/fs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fs/libfs.c

    rdde4689 r4f30222  
    123123        fs_index_t index;
    124124        aoff64_t size;
    125         unsigned lnkcnt;
    126         rc = vfs_out_ops->mounted(service_id, opts, &index, &size, &lnkcnt);
     125        rc = vfs_out_ops->mounted(service_id, opts, &index, &size);
    127126
    128127        if (rc == EOK)
    129                 async_answer_4(rid, EOK, index, LOWER32(size), UPPER32(size),
    130                     lnkcnt);
     128                async_answer_3(rid, EOK, index, LOWER32(size), UPPER32(size));
    131129        else
    132130                async_answer_0(rid, rc);
  • uspace/lib/fs/libfs.h

    rdde4689 r4f30222  
    4444typedef struct {
    4545        int (* fsprobe)(service_id_t, vfs_fs_probe_info_t *);
    46         int (* mounted)(service_id_t, const char *, fs_index_t *, aoff64_t *,
    47             unsigned *);
     46        int (* mounted)(service_id_t, const char *, fs_index_t *, aoff64_t *);
    4847        int (* unmounted)(service_id_t);
    4948        int (* read)(service_id_t, fs_index_t, aoff64_t, size_t *);
Note: See TracChangeset for help on using the changeset viewer.