projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73944a6
)
UBIFS: correct condition to eliminate unecessary assignment
author
Adrian Hunter
<ext-adrian.hunter@nokia.com>
Wed, 17 Sep 2008 09:11:13 +0000
(12:11 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Tue, 30 Sep 2008 08:12:59 +0000
(11:12 +0300)
Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
fs/ubifs/tnc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/tnc.c
b/fs/ubifs/tnc.c
index e0878a431b9c5bcbe49fd4a08e160bca8c069394..d27fd918b9c935a1fd115a3f1729576c8c4ae883 100644
(file)
--- 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