Changeset 852b801 in mainline for uspace/srv/fs/tmpfs


Ignore:
Timestamp:
2009-06-28T18:59:02Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
75160a6
Parents:
4198f9c3
Message:

Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well.

Location:
uspace/srv/fs/tmpfs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs.c

    r4198f9c3 r852b801  
    126126                        tmpfs_open_node(callid, &call);
    127127                        break;
    128                 case VFS_OUT_DEVICE:
    129                         tmpfs_device(callid, &call);
     128                case VFS_OUT_STAT:
     129                        tmpfs_stat(callid, &call);
    130130                        break;
    131131                case VFS_OUT_SYNC:
  • uspace/srv/fs/tmpfs/tmpfs.h

    r4198f9c3 r852b801  
    8787extern void tmpfs_write(ipc_callid_t, ipc_call_t *);
    8888extern void tmpfs_truncate(ipc_callid_t, ipc_call_t *);
     89extern void tmpfs_stat(ipc_callid_t, ipc_call_t *);
    8990extern void tmpfs_close(ipc_callid_t, ipc_call_t *);
    9091extern void tmpfs_destroy(ipc_callid_t, ipc_call_t *);
    9192extern void tmpfs_open_node(ipc_callid_t, ipc_call_t *);
    92 extern void tmpfs_device(ipc_callid_t, ipc_call_t *);
    9393extern void tmpfs_sync(ipc_callid_t, ipc_call_t *);
    9494
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r4198f9c3 r852b801  
    629629}
    630630
    631 void tmpfs_device(ipc_callid_t rid, ipc_call_t *request)
     631void tmpfs_stat(ipc_callid_t rid, ipc_call_t *request)
    632632{
    633633        ipc_answer_0(rid, ENOTSUP);
Note: See TracChangeset for help on using the changeset viewer.