path: root/cmds-replace.c
diff options
authorNikolay Borisov <>2018-09-13 15:05:07 +0300
committerDavid Sterba <>2018-10-31 18:24:13 +0100
commitbf60039cbed6228b94341e2faba326608d4b2093 (patch)
treec11d77306ba42f846e7b67d8d066448f1899fcca /cmds-replace.c
parenta9cddf632fc16ba935d540cbace10c70acb1cd3b (diff)
btrfs-progs: check: lowmem: Refactor extent type checks in check_file_extent
Make the checks in check_file_extent a bit more explicit. First we check for unknown type and fail accordingly. Then we check for inline extent and handle it in the newly introduced check_file_extent_inline. Finally if none of the above checks triggered then we must have a regular or prealloc extents. Reviewed-by: Qu Wenruo <> Reviewed-by: Lu Fengqi <> Signed-off-by: Nikolay Borisov <> Signed-off-by: David Sterba <>
Diffstat (limited to 'cmds-replace.c')
0 files changed, 0 insertions, 0 deletions