Changeset 1b20da0 in mainline for uspace/lib/block/block.c


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

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

    rdf6ded8 r1b20da0  
    349349}
    350350
    351 #define CACHE_LO_WATERMARK      10     
    352 #define CACHE_HI_WATERMARK      20     
     351#define CACHE_LO_WATERMARK      10
     352#define CACHE_HI_WATERMARK      20
    353353static bool cache_can_grow(cache_t *cache)
    354354{
     
    555555                        rc = read_blocks(devcon, b->pba, cache->blocks_cluster,
    556556                            b->data, cache->lblock_size);
    557                         if (rc != EOK) 
     557                        if (rc != EOK)
    558558                                b->toxic = true;
    559559                } else
     
    841841
    842842/** Read bytes directly from the device (bypass cache)
    843  * 
     843 *
    844844 * @param service_id    Service ID of the block device.
    845845 * @param abs_offset    Absolute offset in bytes where to start reading
    846846 * @param bytes                 Number of bytes to read
    847847 * @param data                  Buffer that receives the data
    848  * 
     848 *
    849849 * @return              EOK on success or an error code on failure.
    850850 */
Note: See TracChangeset for help on using the changeset viewer.