commit | f98d9ca17fbddd82980bc20abfabd5b405ecade4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jul 07 11:15:26 2016 +0300 |
committer | Jens Axboe <axboe@fb.com> | Thu Jul 07 08:37:36 2016 -0600 |
tree | c6a147005e6f26740ea4d7584adf4cd6d4d549a6 | |
parent | 1fb470408497382a0cf5311d9fa362202b537ebf [diff] |
nvmet: fix an error code We accidentally return zero here when ERR_PTR(-ENOMEM) is intended. Fixes: a07b4970f464 ('nvmet: add a generic NVMe target') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jens Axboe <axboe@fb.com>