aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/sysfs.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2021-11-03 15:51:21 +0100
committerTheodore Ts'o <tytso@mit.edu>2022-01-10 13:25:55 -0500
commit2327fb2e23416cfb2795ccca2f77d4d65925be99 (patch)
tree62220bef596e12bab2fea8444e6469fd12c1f7c0 /fs/ext4/sysfs.c
parentext4: implement support for get/set fs label (diff)
downloadlinux-dev-2327fb2e23416cfb2795ccca2f77d4d65925be99.tar.xz
linux-dev-2327fb2e23416cfb2795ccca2f77d4d65925be99.zip
ext4: change s_last_trim_minblks type to unsigned long
There is no good reason for the s_last_trim_minblks to be atomic. There is no data integrity needed and there is no real danger in setting and reading it in a racy manner. Change it to be unsigned long, the same type as s_clusters_per_group which is the maximum that's allowed. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Suggested-by: Andreas Dilger <adilger@dilger.ca> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Link: https://lore.kernel.org/r/20211103145122.17338-1-lczerner@redhat.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions