return scnprintf(buf, PAGE_SIZE, "%llu\n",įs_info->discard_ctl.discard_bitmap_bytes) īTRFS_ATTR(discard, discard_bitmap_bytes, -436,7 436,7 static ssize_t btrfs_discard_extent_bytes_show(struct kobject *kobj,įs_info->discard_ctl.discard_extent_bytes) īTRFS_ATTR(discard, discard_extent_bytes, btrfs_discard_extent_bytes_show) return scnprintf(buf, PAGE_SIZE, "%lld\n", Struct btrfs_fs_info *fs_info = discard_to_fs_info(kobj) -414,7 414,7 static ssize_t btrfs_discard_bitmap_bytes_show(struct kobject *kobj, The type of discard_bitmap_bytes and discard_extent_bytes is u64 so theįormat should be %llu, though the actual values would hardly everġ file changed, 2 insertions( ), 2 deletions(-)ĭiff -git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c Subject: btrfs: sysfs: fix format string for some discard statsĭate: Mon, 08:04:29 0200 Btrfs: sysfs: fix format string for some discard stats - Greg Kroah-Hartman Stable Archive on help / color / mirror / Atom feed From: Greg Kroah-Hartman
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |