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

From: Leesoo Ahn
Date: Mon Jul 17 2023 - 11:20:25 EST


23. 7. 15. 23:56에 Matthew Wilcox 이(가) 쓴 글:
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.
Thank you for the feedback, just figured out that ioctl never returns the error code.

Best regards,
Leesoo