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:
0562e0b
)
ext4: remove redundant set_buffer_mapped() in ext4_da_get_block_prep()
author
Feng Tang
<feng.tang@intel.com>
Wed, 23 Mar 2011 18:05:03 +0000
(14:05 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 23 Mar 2011 18:05:03 +0000
(14:05 -0400)
The map_bh() call will have already set the buffer_head to mapped.
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index f44307a211367942a46011b7b408e02a3c113672..dec10e2115e0849141f3e10bc51c29a5d412fc34 100644
(file)
--- a/
fs/ext4/inode.c
+++ b/
fs/ext4/inode.c
@@
-2502,7
+2502,6
@@
static int ext4_da_get_block_prep(struct inode *inode, sector_t iblock,
* for partial write.
*/
set_buffer_new(bh);
- set_buffer_mapped(bh);
}
return 0;
}