diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-07 11:15:26 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-07-07 08:37:36 -0600 |
commit | f98d9ca17fbddd82980bc20abfabd5b405ecade4 (patch) | |
tree | c6a147005e6f26740ea4d7584adf4cd6d4d549a6 /drivers/lightnvm/rrpc.c | |
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>
Diffstat (limited to 'drivers/lightnvm/rrpc.c')
0 files changed, 0 insertions, 0 deletions