mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
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
Block a user