]> git.baikalelectronics.ru Git - kernel.git/commit
staging: erofs: correct all misused ENOTSUPP
authorGao Xiang <gaoxiang25@huawei.com>
Wed, 14 Aug 2019 10:37:05 +0000 (18:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2019 12:24:30 +0000 (14:24 +0200)
commit7e63fde937c004c46e288b370753e483562c34ca
tree148964279f54825a36d059fcaf25e2cee18b1193
parent9b7dfb04b932747fd8812387e681a48b63d62c30
staging: erofs: correct all misused ENOTSUPP

As Chao pointed out [1], ENOTSUPP is used for NFS
protocol only, we should use EOPNOTSUPP instead...

[1] https://lore.kernel.org/lkml/108ee2f9-75dd-b8ab-8da7-b81c17bafbf6@huawei.com/

Reported-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20190814103705.60698-3-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/decompressor.c
drivers/staging/erofs/internal.h
drivers/staging/erofs/xattr.c
drivers/staging/erofs/xattr.h
drivers/staging/erofs/zmap.c