Commit 94ef7280 authored by David Sterba's avatar David Sterba Committed by Josef Bacik

btrfs: cover more error codes in btrfs_decode_error

Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 4884b476
......@@ -81,6 +81,12 @@ static const char *btrfs_decode_error(int errno)
case -EEXIST:
errstr = "Object already exists";
break;
case -ENOSPC:
errstr = "No space left";
break;
case -ENOENT:
errstr = "No such entry";
break;
}
return errstr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment