Description for this pull request:
 - Fix ->i_blocks truncation issue caused by wrong 32bit mask.
exfat: fix incorrect loading of i_blocks for large files

When calculating i_blocks, there was a mistake that was masked with a
32-bit variable. So i_blocks for files larger than 4 GiB had incorrect
values. Mask with a 64-bit variable instead of 32-bit one.

Fixes: 5f2aa075070c ("exfat: add inode operations")
Cc: # v5.7+
Reported-by: Ganapathi Kamath <>
Signed-off-by: Sungjong Seo <>
Signed-off-by: Namjae Jeon <>
1 file changed