diff options
| author | Jens Axboe <axboe@kernel.dk> | 2025-01-13 10:27:54 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 10:00:57 +0100 |
| commit | d011fdc5176b998076db728a12819ae654bb4493 (patch) | |
| tree | f69771f922e69f3422068aa838c8c48240593262 /fs/afs | |
| parent | c5ff1fbdf06d16565298925f9eb9ecde36ee5fdd (diff) | |
| download | linux-d011fdc5176b998076db728a12819ae654bb4493.tar.gz linux-d011fdc5176b998076db728a12819ae654bb4493.tar.bz2 linux-d011fdc5176b998076db728a12819ae654bb4493.zip | |
nvme: fix bogus kzalloc() return check in nvme_init_effects_log()
[ Upstream commit 170e086ad3997f816d1f551f178a03a626a130b7 ]
nvme_init_effects_log() returns failure when kzalloc() is successful,
which is obviously wrong and causes failures to boot. Correct the
check.
Fixes: d4a95adeabc6 ("nvme: Add error path for xa_store in nvme_init_effects")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions
