From 20f328479c7235724eb655ecb10635c517bf3a7c Mon Sep 17 00:00:00 2001 From: Adrian Hunter Date: Wed, 17 Sep 2008 12:11:13 +0300 Subject: [PATCH] --- yaml --- r: 116211 b: refs/heads/master c: 63c300b68fd93a9fadc5e317d4d001b7a6985486 h: refs/heads/master i: 116209: 2c526ec14553e07d71d640404b441c3bbb94547f 116207: bd6dd1032e5ac7f73f20436d1d081091c92353a0 v: v3 --- [refs] | 2 +- trunk/fs/ubifs/tnc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 759c0c328a00..d5391d6a0f03 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 73944a6de048c2c49422e9063e57198256efd23e +refs/heads/master: 63c300b68fd93a9fadc5e317d4d001b7a6985486 diff --git a/trunk/fs/ubifs/tnc.c b/trunk/fs/ubifs/tnc.c index e0878a431b9c..d27fd918b9c9 100644 --- a/trunk/fs/ubifs/tnc.c +++ b/trunk/fs/ubifs/tnc.c @@ -1600,7 +1600,7 @@ int ubifs_tnc_get_bu_keys(struct ubifs_info *c, struct bu_info *bu) * 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