Changeset 51db5aeb in mainline for uspace/srv/fs/minixfs/mfs.c


Ignore:
Timestamp:
2011-07-17T12:15:17Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1dd3e81
Parents:
44799a0
Message:

Add the unmount and sync functions, do not destroy a node if its number of hard links is > 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs.c

    r44799a0 r51db5aeb  
    127127                        mfs_destroy(callid, &call);
    128128                        break;
     129                case VFS_OUT_UNMOUNTED:
     130                        mfs_unmounted(callid, &call);
     131                        break;
     132                case VFS_OUT_UNMOUNT:
     133                        mfs_unmount(callid, &call);
     134                        break;
     135                case VFS_OUT_SYNC:
     136                        mfs_sync(callid, &call);
     137                        break;
    129138                default:
    130139                        async_answer_0(callid, ENOTSUP);
Note: See TracChangeset for help on using the changeset viewer.