btrfs: relocation: use enum for stages
authorDavid Sterba <dsterba@suse.com>
Fri, 22 Sep 2023 11:07:16 +0000 (13:07 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:13 +0000 (16:44 +0200)
commit8daf07cf2b7919e7c2cf6249b19ff9bb88f95c9d
tree829b9fcce06890f2c3fbe8bb867a8aada5758239
parenta3bb700f43a1c5800bd5fc35cf6182f8ecadf58f
btrfs: relocation: use enum for stages

Add an enum type for data relocation stages.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c