summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2017-03-21 09:00:55 +0800
committerDavid Sterba <dsterba@suse.com>2017-03-31 14:17:48 +0200
commit52bbb015e5a21743478024becb1c3dacea822adb (patch)
tree0d13a8444703acdce7e200a3856dbd1d27a4cdb4 /cmds-check.c
parent11b8ec4aac0e30215f4990cbc6accd55e0a16553 (diff)
btrfs-progs: convert: Add missing return for HOLE mode when checking convert image
In check_convert_image(), for normal HOLE case, if the file extents are smaller than image size, we set ret to -EINVAL and print error message. But forget to return. This patch adds the missing return to fix it. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-check.c')
0 files changed, 0 insertions, 0 deletions