projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8558a2
)
ext4: remove an unneeded check in mext_page_mkuptodate()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 18 Feb 2014 01:46:40 +0000
(20:46 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 18 Feb 2014 01:46:40 +0000
(20:46 -0500)
"err" is zero here, there is no need to check again.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/move_extent.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/move_extent.c
b/fs/ext4/move_extent.c
index 773b503bd18cf840a048788b4c536717fafbb7e6..f39a88abe32cffc32f60b6ad89503350f1744a0c 100644
(file)
--- a/
fs/ext4/move_extent.c
+++ b/
fs/ext4/move_extent.c
@@
-861,8
+861,7
@@
mext_page_mkuptodate(struct page *page, unsigned from, unsigned to)
}
if (!buffer_mapped(bh)) {
zero_user(page, block_start, blocksize);
- if (!err)
- set_buffer_uptodate(bh);
+ set_buffer_uptodate(bh);
continue;
}
}