Skip to content
Snippets Groups Projects
Commit 47017327 authored by Ionut Nicu's avatar Ionut Nicu Committed by Tom Rini
Browse files

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: default avatarIonut Nicu <ioan.nicu.ext@nsn.com>
Signed-off-by: default avatarMathias Rulf <mathias.rulf@nsn.com>
parent c47817be
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment