Skip to content

Commit 48062bb

Browse files
committed
Merge tag 'exfat-for-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat
Pull exfat fix from Namjae Jeon: - fix integer overflow on large partitions * tag 'exfat-for-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat: exfat: fix overflow for large capacity partition
2 parents 60891ec + 2e9ceb6 commit 48062bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/exfat/fatent.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,7 @@ int exfat_zeroed_cluster(struct inode *dir, unsigned int clu)
270270
struct super_block *sb = dir->i_sb;
271271
struct exfat_sb_info *sbi = EXFAT_SB(sb);
272272
struct buffer_head *bh;
273-
sector_t blknr, last_blknr;
274-
int i;
273+
sector_t blknr, last_blknr, i;
275274

276275
blknr = exfat_cluster_to_sector(sbi, clu);
277276
last_blknr = blknr + sbi->sect_per_clus;

0 commit comments

Comments
 (0)