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
1 changed files with 1 additions and 1 deletions

View File

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