Changeset 865c307 in rtems


Ignore:
Timestamp:
Oct 17, 2013, 2:15:18 AM (6 years ago)
Author:
Ric Claus <claus@…>
Branches:
4.11, master
Children:
0098c522
Parents:
b8de8281
git-author:
Ric Claus <claus@…> (10/17/13 02:15:18)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/17/13 06:59:55)
Message:

Remove double count of start offset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/bdbuf.c

    rb8de8281 r865c307  
    22082208    if (rtems_bdbuf_tracer)
    22092209      printf ("bdbuf:read: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",
    2210               media_block + dd->start, block, (unsigned) dd->dev);
     2210              media_block, block, (unsigned) dd->dev);
    22112211
    22122212    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);
     
    25332533    rtems_chain_node* node = rtems_chain_head (chain);
    25342534    bool              sync_all;
    2535    
     2535
    25362536    node = node->next;
    25372537
     
    25432543    else
    25442544      sync_all = false;
    2545    
     2545
    25462546    while (!rtems_chain_is_tail (chain, node))
    25472547    {
     
    26762676  transfer->dd = BDBUF_INVALID_DEV;
    26772677  transfer->syncing = bdbuf_cache.sync_active;
    2678  
     2678
    26792679  /*
    26802680   * When the sync is for a device limit the sync to that device. If the sync
     
    26842684  if (bdbuf_cache.sync_active)
    26852685    transfer->dd = bdbuf_cache.sync_device;
    2686    
     2686
    26872687  /*
    26882688   * If we have any buffers in the sync queue move them to the modified
Note: See TracChangeset for help on using the changeset viewer.