Pankaj Raghav 31f3726980 btrfs: zoned: fix comment description for sb_write_pointer logic
Fix the comment to represent the actual logic used for sb_write_pointer

- Empty[0] && In use[1] should be an invalid state instead of returning
  zone 0 wp
- Empty[0] && Full[1] should be returning zone 0 wp instead of zone 1 wp
- In use[0] && Empty[1] should be returning zone 0 wp instead of being an
  invalid state
- In use[0] && Full[1] should be returning zone 0 wp instead of returning
  zone 1 wp
- Full[0] && Empty[1] should be returning zone 1 wp instead of returning
  zone 0 wp
- Full[0] && In use[1] should be returning zone 1 wp instead of returning
  zone 0 wp

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2022-07-25 17:44:33 +02:00
..
2022-07-25 17:44:33 +02:00
2021-06-22 14:11:57 +02:00
2022-07-25 17:44:33 +02:00
2022-07-16 13:48:55 -07:00
2022-05-24 19:55:07 -07:00
2022-07-16 13:48:55 -07:00
2022-06-26 10:11:36 -07:00
2022-05-24 19:55:07 -07:00
2022-07-25 17:44:33 +02:00
2022-05-24 19:55:07 -07:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-05-24 19:55:07 -07:00
2022-07-16 13:48:55 -07:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-07-25 17:44:33 +02:00
2022-05-24 18:52:35 -07:00
2022-05-24 18:52:35 -07:00