Changeset 4f30222 in mainline for uspace/lib
- Timestamp:
- 2017-05-16T21:58:20Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3ec2acc
- Parents:
- dde4689
- Location:
- uspace/lib
- Files:
-
- 3 edited
-
ext4/src/ops.c (modified) (3 diffs)
-
fs/libfs.c (modified) (1 diff)
-
fs/libfs.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/ops.c
rdde4689 r4f30222 920 920 * @param index Output value - index of root node 921 921 * @param size Output value - size of root node 922 * @param lnkcnt Output value - link count of root node923 922 * 924 923 * @return Error code … … 926 925 */ 927 926 static int ext4_mounted(service_id_t service_id, const char *opts, 928 fs_index_t *index, aoff64_t *size , unsigned *lnkcnt)927 fs_index_t *index, aoff64_t *size) 929 928 { 930 929 ext4_filesystem_t *fs; … … 962 961 *index = EXT4_INODE_ROOT_INDEX; 963 962 *size = rnsize; 964 *lnkcnt = 1;965 963 966 964 return EOK; -
uspace/lib/fs/libfs.c
rdde4689 r4f30222 123 123 fs_index_t index; 124 124 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); 127 126 128 127 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)); 131 129 else 132 130 async_answer_0(rid, rc); -
uspace/lib/fs/libfs.h
rdde4689 r4f30222 44 44 typedef struct { 45 45 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 *); 48 47 int (* unmounted)(service_id_t); 49 48 int (* read)(service_id_t, fs_index_t, aoff64_t, size_t *);
Note:
See TracChangeset
for help on using the changeset viewer.
