Changeset 778d26d in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2013-07-28T21:06:34Z (11 years ago)
Author:
Jiri Zarevucky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9e9b168
Parents:
bf9dc4e2
Message:

Relativize rename().

File:
1 edited

Legend:

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

    rbf9dc4e2 r778d26d  
    632632       
    633633        if (cur->mp_data.mp_active) {
     634                if (lflag & L_DISABLE_MOUNTS) {
     635                        async_answer_0(rid, EXDEV);
     636                        LOG_EXIT(EXDEV);
     637                        goto out;
     638                }
     639               
    634640                async_exch_t *exch = async_exchange_begin(cur->mp_data.sess);
    635641                async_forward_slow(rid, exch, VFS_OUT_LOOKUP, next, last - next,
     
    692698                if ((tmp) && (tmp->mp_data.mp_active) &&
    693699                    (!(lflag & L_MP) || (next < last))) {
     700                       
     701                        if (lflag & L_DISABLE_MOUNTS) {
     702                                async_answer_0(rid, EXDEV);
     703                                LOG_EXIT(EXDEV);
     704                                goto out;
     705                        }
     706                       
    694707                        async_exch_t *exch = async_exchange_begin(tmp->mp_data.sess);
    695708                        async_forward_slow(rid, exch, VFS_OUT_LOOKUP, next,
Note: See TracChangeset for help on using the changeset viewer.