btrfs: cover more error codes in btrfs_decode_error
Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
parent
4884b476d7
commit
94ef7280e8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue