Messages in this thread | | | Subject | Re: [PATCH RESEND 2/2] staging: erofs: differentiate unsupported on-disk format | From | Chao Yu <> | Date | Wed, 14 Aug 2019 17:25:51 +0800 |
| |
On 2019/8/14 12:32, Gao Xiang wrote: > For some specific fields, use ENOTSUPP instead of EIO > for values which look sane but aren't supported right now. > > Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
> + return -ENOTSUPP;
A little bit confused about when we need to use ENOTSUPP or EOPNOTSUPP, I checked several manual of syscall, it looks EOPNOTSUPP is widely used.
Thanks,
| |