Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
63c300b6
Commit
63c300b6
authored
Sep 17, 2008
by
Adrian Hunter
Committed by
Artem Bityutskiy
Sep 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBIFS: correct condition to eliminate unecessary assignment
Signed-off-by:
Adrian Hunter
<
ext-adrian.hunter@nokia.com
>
parent
73944a6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/ubifs/tnc.c
fs/ubifs/tnc.c
+1
-1
No files found.
fs/ubifs/tnc.c
View file @
63c300b6
...
@@ -1600,7 +1600,7 @@ int ubifs_tnc_get_bu_keys(struct ubifs_info *c, struct bu_info *bu)
...
@@ -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
* An enormous hole could cause bulk-read to encompass too many
* page cache pages, so limit the number here.
* 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
;
bu
->
blk_cnt
=
UBIFS_MAX_BULK_READ
;
/*
/*
* Ensure that bulk-read covers a whole number of page cache
* Ensure that bulk-read covers a whole number of page cache
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment