f2fs: fix to use more generic EOPNOTSUPP
authorChao Yu <yuchao0@huawei.com>
Thu, 15 Aug 2019 11:45:36 +0000 (19:45 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 23 Aug 2019 14:57:13 +0000 (07:57 -0700)
commitfd114ab22dd14ded1783b7f9b0aaddc14c098fe0
treeacf965d0c23f7b4444671ae9bb0786745bf16951
parent3ee0c5d3b4e8bb0990a800449509c087f270d4a6
f2fs: fix to use more generic EOPNOTSUPP

EOPNOTSUPP is widely used as error number indicating operation is
not supported in syscall, and ENOTSUPP was defined and only used
for NFSv3 protocol, so use EOPNOTSUPP instead.

Fixes: 0a2aa8fbb969 ("f2fs: refactor __exchange_data_block for speed up")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c