1
0
Fork 0

UBIFS: correct condition to eliminate unecessary assignment

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
wifi-calibration
Adrian Hunter 2008-09-17 12:11:13 +03:00 committed by Artem Bityutskiy
parent 73944a6de0
commit 63c300b68f
1 changed files with 1 additions and 1 deletions

View File

@ -1600,7 +1600,7 @@ out:
* An enormous hole could cause bulk-read to encompass too many
* page cache pages, so limit the number here.
*/
if (bu->blk_cnt >= UBIFS_MAX_BULK_READ)
if (bu->blk_cnt > UBIFS_MAX_BULK_READ)
bu->blk_cnt = UBIFS_MAX_BULK_READ;
/*
* Ensure that bulk-read covers a whole number of page cache