Changeset f7376cbf in mainline for uspace/lib/libfs/libfs.c


Ignore:
Timestamp:
2010-01-25T21:04:49Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ea44bd1
Parents:
ae75e2e3
Message:

Rename L_NOCROSS_LAST_MP to L_MP and introduce L_ROOT.
Lookup the mounted root in vfs_unmount() using L_ROOT.

File:
1 edited

Legend:

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

    rae75e2e3 rf7376cbf  
    315315
    316316                if ((tmp) && (tmp->mp_data.mp_active) &&
    317                     (!(lflag & L_NOCROSS_LAST_MP) || (next <= last))) {
     317                    (!(lflag & L_MP) || (next <= last))) {
    318318                        if (next > last)
    319319                                next = last = first;
     
    486486                goto out;
    487487        }
     488
     489        if ((lflag & L_ROOT) && par) {
     490                ipc_answer_0(rid, EINVAL);
     491                goto out;
     492        }
    488493       
    489494out_with_answer:
Note: See TracChangeset for help on using the changeset viewer.