diff options
author | Feng Tang <feng.tang@intel.com> | 2011-03-23 19:05:03 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-03-23 19:05:03 +0100 |
commit | 6de9843dab3f2a1d4d66d80aa9e5782f80977d20 (patch) | |
tree | 9c78e8d386e117cb890e9823b113dfdc290be580 /fs/ext4 | |
parent | ext4: add more tracepoints and use dev_t in the trace buffer (diff) | |
download | linux-6de9843dab3f2a1d4d66d80aa9e5782f80977d20.tar.xz linux-6de9843dab3f2a1d4d66d80aa9e5782f80977d20.zip |
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')
-rw-r--r-- | fs/ext4/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index f44307a21136..dec10e2115e0 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; } |