acrn-kernel/fs/exfat
Yuezhang Mo 375009e22b exfat: fix inode->i_blocks for non-512 byte sector size device
commit 39c1ce8eaf upstream.

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>
2023-03-10 09:34:08 +01:00
..
Kconfig
Makefile
balloc.c
cache.c
dir.c
exfat_fs.h exfat: redefine DIR_DELETED as the bad cluster number 2023-03-10 09:34:08 +01:00
exfat_raw.h
fatent.c
file.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:34:08 +01:00
inode.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:34:08 +01:00
misc.c
namei.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:34:08 +01:00
nls.c
super.c exfat: fix inode->i_blocks for non-512 byte sector size device 2023-03-10 09:34:08 +01:00