mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
exfat: fix inode->i_blocks for non-512 byte sector size device
commit39c1ce8eafupstream. inode->i_blocks is not real number of blocks, but 512 byte ones. Fixes:98d917047e("exfat: add file operations") Cc: stable@vger.kernel.org # v5.7+ Reported-by: Wang Yugui <wangyugui@e16-tech.com> Tested-by: Wang Yugui <wangyugui@e16-tech.com> Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com> Reviewed-by: Andy Wu <Andy.Wu@sony.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0fb929e755
commit
375009e22b
4 changed files with 5 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue