diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-08-25 13:42:30 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-09-14 13:23:36 +0200 |
| commit | 90bb57315c3949bebc0d793f25949b1391970ae4 (patch) | |
| tree | 18b8016a3b9a4f03bcfc9c645378a16703bdd5dc /fs | |
| parent | 86d5a2d854a8a60b301d7422fd0e4712d44f5c0e (diff) | |
| download | linux-next-90bb57315c3949bebc0d793f25949b1391970ae4.tar.gz linux-next-90bb57315c3949bebc0d793f25949b1391970ae4.zip | |
btrfs: remove unused variable flags from btrfs_read_qgroup_config()
Since commit e562a8bdf652 ("btrfs: introduce
BTRFS_QGROUP_RUNTIME_FLAG_CANCEL_RESCAN"), that @flags variable is no
longer utilized. Just remove it.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index f68b696b4bf7..f3685cbb8f2e 100644 --- a/fs/btrfs/qgroup.c +++ b/fs/btrfs/qgroup.c @@ -426,7 +426,6 @@ int btrfs_read_qgroup_config(struct btrfs_fs_info *fs_info) struct extent_buffer *l; int slot; int ret = 0; - u64 flags = 0; u64 rescan_progress = 0; if (!fs_info->quota_root) @@ -609,7 +608,6 @@ next2: } out: btrfs_free_path(path); - fs_info->qgroup_flags |= flags; if (ret >= 0) { if (fs_info->qgroup_flags & BTRFS_QGROUP_STATUS_FLAG_ON) set_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags); |
