Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 16d17ca in mainline


Ignore:
Timestamp:
2009-05-22T19:18:39Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
4ef6645
Parents:
3ecc02e
Message:

Add fs_handle argument to libfs_mount() needed to recognize homogenous mounts.

Location:
uspace
Files:
4 edited

Legend:

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

    r3ecc02e r16d17ca  
    128128}
    129129
    130 void libfs_mount(libfs_ops_t *ops, ipc_callid_t rid, ipc_call_t *request)
     130void libfs_mount(libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid,
     131    ipc_call_t *request)
    131132{
    132133        dev_handle_t mp_dev_handle = (dev_handle_t) IPC_GET_ARG1(*request);
  • uspace/lib/libfs/libfs.h

    r3ecc02e r16d17ca  
    8282extern void fs_node_initialize(fs_node_t *);
    8383
    84 extern void libfs_mount(libfs_ops_t *, ipc_callid_t, ipc_call_t *);
     84extern void libfs_mount(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *);
    8585extern void libfs_lookup(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *);
    8686
  • uspace/srv/fs/fat/fat_ops.c

    r3ecc02e r16d17ca  
    889889void fat_mount(ipc_callid_t rid, ipc_call_t *request)
    890890{
    891         libfs_mount(&fat_libfs_ops, rid, request);
     891        libfs_mount(&fat_libfs_ops, fat_reg.fs_handle, rid, request);
    892892}
    893893
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r3ecc02e r16d17ca  
    410410void tmpfs_mount(ipc_callid_t rid, ipc_call_t *request)
    411411{
    412         libfs_mount(&tmpfs_libfs_ops, rid, request);
     412        libfs_mount(&tmpfs_libfs_ops, tmpfs_reg.fs_handle, rid, request);
    413413}
    414414
Note: See TracChangeset for help on using the changeset viewer.