if: fix wrong error code ENOSYS

This commit is contained in:
Thomas Schoebel-Theuer 2015-09-30 12:42:16 +02:00
parent 66d200dbf1
commit af6ac736c5

View File

@ -392,7 +392,7 @@ if_make_request(struct request_queue *q, struct bio *bio)
#endif #endif
// end_remove_this // end_remove_this
bool assigned = false; bool assigned = false;
int error = -ENOSYS; int error = -EINVAL;
bind_to_channel(brick->say_channel, current); bind_to_channel(brick->say_channel, current);