Re: [PATCH v2] fs: inode: return proper error code in bmap()

From: Matthew Wilcox
Date: Sat Jul 15 2023 - 10:56:33 EST


On Sat, Jul 15, 2023 at 05:22:04PM +0900, Leesoo Ahn wrote:
> Return -EOPNOTSUPP instead of -EINVAL which has the meaning of

EOPNOTSUPP is the wrong errno. ENOTTY is "more" correct.

By the way, don't send v2 just because Markus has picked at a nit.
Wait for substantive feedback.