summaryrefslogtreecommitdiff
path: root/fs/exfat/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exfat/inode.c')
-rw-r--r--fs/exfat/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/exfat/inode.c b/fs/exfat/inode.c
index 567308aff726..d5f6dbab4720 100644
--- a/fs/exfat/inode.c
+++ b/fs/exfat/inode.c
@@ -213,7 +213,6 @@ static int exfat_map_cluster(struct inode *inode, unsigned int clu_offset,
return -EIO;
}
- num_clusters += num_to_be_allocated;
*clu = new_clu.dir;
inode->i_blocks += EXFAT_CLU_TO_B(num_to_be_allocated, sbi) >> 9;