aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2011-03-23 14:05:03 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-03-23 14:05:03 -0400
commit6de9843dab3f2a1d4d66d80aa9e5782f80977d20 (patch)
tree9c78e8d386e117cb890e9823b113dfdc290be580 /fs/ext4/inode.c
parent0562e0bad483d10e9651fbb8f21dc3d0bad57374 (diff)
ext4: remove redundant set_buffer_mapped() in ext4_da_get_block_prep()
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>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index f44307a2113..dec10e2115e 100644
--- 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;
}