]> git.dujemihanovic.xyz Git - u-boot.git/commit
ext4fs: use EXT2_BLOCK_SIZE instead of fs->blksz
authorIonut Nicu <ioan.nicu.ext@nsn.com>
Mon, 13 Jan 2014 10:59:24 +0000 (11:59 +0100)
committerTom Rini <trini@ti.com>
Mon, 20 Jan 2014 15:09:40 +0000 (10:09 -0500)
commit470173274d9ceb18a7140ef93e20be6c2236e7d9
tree9ba7874a658f7add6d689c58289127b77e35bbdf
parentc47817be257277f6445ea77bbf00954377ca9802
ext4fs: use EXT2_BLOCK_SIZE instead of fs->blksz

Using fs->blksz in ext4fs_get_extent_block() is not
correct since fs->blksz is not initialized on the
read path. Use EXT2_BLOCK_SIZE() instead which will
produce the desired output.

Signed-off-by: Ionut Nicu <ioan.nicu.ext@nsn.com>
Signed-off-by: Mathias Rulf <mathias.rulf@nsn.com>
fs/ext4/ext4_common.c