提交 94ef7280 编写于 作者: D David Sterba 提交者: Josef Bacik

btrfs: cover more error codes in btrfs_decode_error

Signed-off-by: NDavid Sterba <dsterba@suse.cz>
Signed-off-by: NJosef Bacik <jbacik@fusionio.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册