Skip to content
Snippets Groups Projects
Commit 39c1ce8e authored by Yuezhang Mo's avatar Yuezhang Mo Committed by Namjae Jeon
Browse files

exfat: fix inode->i_blocks for non-512 byte sector size device


inode->i_blocks is not real number of blocks, but 512 byte ones.

Fixes: 98d91704 ("exfat: add file operations")
Cc: stable@vger.kernel.org # v5.7+
Reported-by: default avatarWang Yugui <wangyugui@e16-tech.com>
Tested-by: default avatarWang Yugui <wangyugui@e16-tech.com>
Signed-off-by: default avatarYuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: default avatarAndy Wu <Andy.Wu@sony.com>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
parent bdaadfd3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment