diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-10-23 12:18:03 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-10-24 05:57:44 -0400 |
commit | b91d84abc0df2195aaa06a79b565d8852b3099b2 (patch) | |
tree | b6868496f083c512c9836cdc51a5fb58aaf59d3e /cmds-device.c | |
parent | cee267d8c8175e6f8cd7605ccb11379a20ea8c99 (diff) |
Btrfs-progs: just return -ENOENT if we don't find the root item
We were bug_on(slot == 0), but that's just obnoxious, return -ENOENT so we can
handle the situation properly. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-device.c')
0 files changed, 0 insertions, 0 deletions