diff options
author | Nikolay Borisov <[email protected]> | 2022-01-11 18:00:26 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-03-14 13:13:46 +0100 |
commit | ff37c89f94be14b0e22a532d1e6d57187bfd5bb8 (patch) | |
tree | 9800a94149b75f0749c266693848026d4ca4b12a /lib/memory-notifier-error-inject.c | |
parent | de6bc7f59896e888d388a2b469807a4d4b4ab55e (diff) |
btrfs: move missing device handling in a dedicate function
This simplifies the code flow in read_one_chunk and makes error handling
when handling missing devices a bit simpler by reducing it to a single
check if something went wrong. No functional changes.
Reviewed-by: Su Yue <[email protected]>
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions