Changeset 1d8cdb1 in mainline for uspace/srv/fs/fat/fat_fat.h


Ignore:
Timestamp:
2008-11-18T20:28:17Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
18c485a
Parents:
26fa0f9f
Message:

Avoid unnecessary block reads in block_get().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_fat.h

    r26fa0f9f r1d8cdb1  
    6464    fat_cluster_t *, uint16_t);
    6565
    66 #define fat_block_get(bs, np, bn) \
    67     _fat_block_get((bs), (np)->idx->dev_handle, (np)->firstc, (bn))
     66#define fat_block_get(bs, np, bn, flags) \
     67    _fat_block_get((bs), (np)->idx->dev_handle, (np)->firstc, (bn), (flags))
    6868
    6969extern struct block *_fat_block_get(struct fat_bs *, dev_handle_t,
    70     fat_cluster_t, bn_t);
     70    fat_cluster_t, bn_t, int);
    7171 
    7272extern void fat_append_clusters(struct fat_bs *, struct fat_node *,
Note: See TracChangeset for help on using the changeset viewer.