Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6de9843d authored by Feng Tang's avatar Feng Tang Committed by Theodore Ts'o
Browse files

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: default avatarFeng Tang <feng.tang@intel.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 0562e0ba
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}