Commit a109ae2a authored by dingsenjie's avatar dingsenjie Committed by Linus Torvalds
parent 5afe69c2
...@@ -771,7 +771,7 @@ int fat_trim_fs(struct inode *inode, struct fstrim_range *range) ...@@ -771,7 +771,7 @@ int fat_trim_fs(struct inode *inode, struct fstrim_range *range)
/* /*
* FAT data is organized as clusters, trim at the granulary of cluster. * FAT data is organized as clusters, trim at the granulary of cluster.
* *
* fstrim_range is in byte, convert vaules to cluster index. * fstrim_range is in byte, convert values to cluster index.
* Treat sectors before data region as all used, not to trim them. * Treat sectors before data region as all used, not to trim them.
*/ */
ent_start = max_t(u64, range->start>>sbi->cluster_bits, FAT_START_ENT); ent_start = max_t(u64, range->start>>sbi->cluster_bits, FAT_START_ENT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment