Skip to contentSkip to conversation

master - bcache: remove extraneous error message

PATCH David Teigland 1 participant 1 message Jun 18, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f85a010a6bc9dc0414ccdf9c6b195c78231f1914
Commit:        f85a010a6bc9dc0414ccdf9c6b195c78231f1914
Parent:        565df4e7321243614fd18c6a45d1f890ab92956b
Author:        David Teigland <[email protected]>
AuthorDate:    Mon Jun 18 11:59:57 2018 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Mon Jun 18 12:02:22 2018 -0500

bcache: remove extraneous error message

an error from io_submit is already recognized by
the caller like errors during completion.

---
 lib/device/bcache.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
lib/device/bcache.c +0 -1
index f4c0712..f315b2a 100644
@@ -191,7 +191,6 @@ static bool _async_issue(struct io_engine *ioe, enum dir d, int fd,
 	} while (r == -EAGAIN);
 
 	if (r < 0) {
-		log_sys_warn("io_submit");
 		_cb_free(e->cbs, cb);
 		return false;
 	}