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)
commitff784a78af11712c7fa97c292be5390e45b50639
tree148964279f54825a36d059fcaf25e2cee18b1193
parent382329a9d8553a98418a6f6e3425f0c288837897
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