summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-06-28 13:07:14 +0800
committerDavid Sterba <dsterba@suse.com>2020-07-27 12:55:37 +0200
commit06f67c47076e5c3ee65276171596479dcc3a3941 (patch)
treec490b3fb93fe1fa1b0ea386d86f10e751dd7f4aa /fs
parentcfdd45921571eb24073e0737fa0bd44b4218f914 (diff)
downloadlinux-06f67c47076e5c3ee65276171596479dcc3a3941.tar.gz
linux-06f67c47076e5c3ee65276171596479dcc3a3941.tar.bz2
linux-06f67c47076e5c3ee65276171596479dcc3a3941.zip
btrfs: use __u16 for the return value of btrfs_qgroup_level()
The qgroup level is limited to u16, so no need to use u64 for it. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/qgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index 787128d7e196..229e461dbfc3 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -538,7 +538,7 @@ bool btrfs_check_quota_leak(struct btrfs_fs_info *fs_info)
if (qgroup->rsv.values[i]) {
ret = true;
btrfs_warn(fs_info,
- "qgroup %llu/%llu has unreleased space, type %d rsv %llu",
+ "qgroup %hu/%llu has unreleased space, type %d rsv %llu",
btrfs_qgroup_level(qgroup->qgroupid),
btrfs_qgroup_subvolid(qgroup->qgroupid),
i, qgroup->rsv.values[i]);