Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset dde4689 in mainline


Ignore:
Timestamp:
2017-05-16T21:42:53Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
4f30222
Parents:
6416ae5
Message:

Be consistent when answering VFS_OUT_LOOKUP

File:
1 edited

Legend:

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

    r6416ae5 rdde4689  
    702702        if (!cur) {
    703703                async_answer_5(rid, fs_handle, service_id, ops->index_get(par),
    704                     last_next, -1, true);
     704                    (ops->is_directory(par) << 16) | last_next,
     705                    LOWER32(ops->size_get(par)), UPPER32(ops->size_get(par)));
    705706                goto out;
    706707        }
    707708       
    708         aoff64_t size = ops->size_get(cur);
    709709        async_answer_5(rid, fs_handle, service_id, ops->index_get(cur),
    710             (ops->is_directory(cur) << 16) | last, LOWER32(size),
    711             UPPER32(size));
     710            (ops->is_directory(cur) << 16) | last, LOWER32(ops->size_get(cur)),
     711            UPPER32(ops->size_get(cur)));
    712712       
    713713out:
Note: See TracChangeset for help on using the changeset viewer.