Thread (11 messages) 11 messages, 3 authors, 2019-11-14

Re: [PATCH v6 1/2] loop: Report EOPNOTSUPP properly

From: Christoph Hellwig <hch@infradead.org>
Date: 2019-11-12 08:32:19
Also in: lkml

On Mon, Nov 11, 2019 at 10:50:29AM -0800, Evan Green wrote:
-		if (cmd->ret < 0)
+		if (cmd->ret == -EOPNOTSUPP)
+			ret = BLK_STS_NOTSUPP;
+		else if (cmd->ret < 0)
 			ret = BLK_STS_IOERR;
This really should use errno_to_blk_status.  Same for the other hunk.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help