aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorYuanheng Zhang <[email protected]>2023-08-28 13:17:41 +0800
committerAndrew Morton <[email protected]>2023-10-04 10:41:56 -0700
commit00adf323b2e7c973a7129b906c381ed377aec1a5 (patch)
tree596b97d7c420377ca9c523dd7b1a043ed69ea37c /rust/helpers/helpers.c
parenta8306f2d4dcea03538c70c26d2948483f70254ff (diff)
ocfs2: correct range->len in ocfs2_trim_fs()
global bitmap is a cluster allocator,so after we traverse the global bitmap and finished the fstrim,the trimmed range should be 'trimmed * clustersize'.otherwise,the trimmed range printed by 'fstrim -v' is not as expected. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yuanheng Zhang <[email protected]> Reviewed-by: Joseph Qi <[email protected]> Cc: Joel Becker <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Junxiao Bi <[email protected]> Cc: Changwei Ge <[email protected]> Cc: Gang He <[email protected]> Cc: Jun Piao <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions