Changeset 45ffe9f in mainline


Ignore:
Timestamp:
2011-11-05T13:05:35Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
daf8ff2
Parents:
8d6a41c
Message:

Do the mount only if it was possible to add the fs info to the mtab list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    r8d6a41c r45ffe9f  
    358358        fibril_mutex_unlock(&fs_list_lock);
    359359       
    360         /* Do the mount */
    361         vfs_mount_internal(rid, service_id, fs_handle, mp, opts);
    362 
    363360        /* Add the filesystem info to the list of mounted filesystems */
    364361        mtab_ent_t *mtab_ent = malloc(sizeof(mtab_ent_t));
     
    387384
    388385        free(mp);
     386
     387        /* Do the mount */
     388        vfs_mount_internal(rid, service_id, fs_handle, mp, opts);
    389389
    390390        /* Acknowledge that we know fs_name. */
Note: See TracChangeset for help on using the changeset viewer.