Re: [Question] Usage of ENOTSUPP error code

2015-07-06 Thread Masahiro Yamada
Hi Clemens, Thanks for your clarification. 2015-07-06 16:37 GMT+09:00 Clemens Ladisch : > Masahiro Yamada wrote: >> I noticed many drivers return -ENOTSUPP on error. >> >> I assume ENOTSUPP is defined in include/linux/errno.h >> as follows: >> >> /* Defined for the NFSv3 protocol */ >> ... >> #d

Re: [Question] Usage of ENOTSUPP error code

2015-07-06 Thread Clemens Ladisch
Masahiro Yamada wrote: > I noticed many drivers return -ENOTSUPP on error. > > I assume ENOTSUPP is defined in include/linux/errno.h > as follows: > > /* Defined for the NFSv3 protocol */ > ... > #define ENOTSUPP 524 /* Operation is not supported */ > > If so, should ENOTSUPP be only used for NFS-r

[Question] Usage of ENOTSUPP error code

2015-07-03 Thread Masahiro Yamada
Hello experts, I noticed many drivers return -ENOTSUPP on error. I assume ENOTSUPP is defined in include/linux/errno.h as follows: /* Defined for the NFSv3 protocol */ #define EBADHANDLE 521 /* Illegal NFS file handle */ #define ENOTSYNC 522 /* Update synchronization mismatch */ #define EBAD