diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-08-25 13:42:30 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-09-07 11:25:16 +0200 |
| commit | c2f89bb4870ae26de6579bc9cd2d86c0f9e1b8ac (patch) | |
| tree | 9fb406988166d05a1395332a57c27fba5cb0b951 | |
| parent | 729424985d387a17aff00c1c1ede30c96d2a5440 (diff) | |
| download | linux-next-c2f89bb4870ae26de6579bc9cd2d86c0f9e1b8ac.tar.gz linux-next-c2f89bb4870ae26de6579bc9cd2d86c0f9e1b8ac.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>
| -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); |
