diff options
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | 2008-09-17 12:11:13 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-09-30 11:12:59 +0300 |
commit | 63c300b68fd93a9fadc5e317d4d001b7a6985486 (patch) | |
tree | 8d9a35c531c9b9e93ee56f3135ef25e75baacf9c /fs/ubifs | |
parent | 73944a6de048c2c49422e9063e57198256efd23e (diff) | |
download | kernel_goldelico_gta04-63c300b68fd93a9fadc5e317d4d001b7a6985486.zip kernel_goldelico_gta04-63c300b68fd93a9fadc5e317d4d001b7a6985486.tar.gz kernel_goldelico_gta04-63c300b68fd93a9fadc5e317d4d001b7a6985486.tar.bz2 |
UBIFS: correct condition to eliminate unecessary assignment
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Diffstat (limited to 'fs/ubifs')
-rw-r--r-- | fs/ubifs/tnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c index e0878a4..d27fd91 100644 --- a/fs/ubifs/tnc.c +++ b/fs/ubifs/tnc.c @@ -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 |