diff options
| author | Sergei Shtylyov <[email protected]> | 2011-08-19 09:37:46 +0000 |
|---|---|---|
| committer | Wolfgang Denk <[email protected]> | 2011-10-01 21:52:19 +0200 |
| commit | 025421eab453fd41a3cc14a0fc48115b0dc4c287 (patch) | |
| tree | edea3f18319116fc6320b90617844a40f35ce842 /include/linux | |
| parent | 40e219165bcdf450cc69976fa129f2ef9889973a (diff) | |
fat: replace LINEAR_PREFETCH_SIZE with PREFETCH_BLOCKS
Currently in do_fat_read() when reading FAT sectors, we have to divide down
LINEAR_PREFETCH_SIZE by the sector size, whereas it's defined as 2 sectors
worth of bytes. In order to avoid redundant multiplication/division, introduce
#define PREFETCH_BLOCKS instead of #define LINEAR_PREFETCH_SIZE.
Signed-off-by: Sergei Shtylyov <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
