Changeset 4ada6d5 in mainline


Ignore:
Timestamp:
2007-12-19T16:51:22Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
338c943
Parents:
a806bd61
Message:

VFS work.
Index of the last PLB character of a pathname was not correctly calculated.

File:
1 edited

Legend:

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

    ra806bd61 r4ada6d5  
    146146        int phone = vfs_grab_phone(root->fs_handle);
    147147        aid_t req = async_send_3(phone, VFS_LOOKUP, (ipcarg_t) first,
    148             (ipcarg_t) last, (ipcarg_t) root->dev_handle, &answer);
     148            (ipcarg_t) (first + len - 1) % PLB_SIZE,
     149            (ipcarg_t) root->dev_handle, &answer);
    149150        vfs_release_phone(phone);
    150151
Note: See TracChangeset for help on using the changeset viewer.