Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e6704a1 authored by Dan Carpenter's avatar Dan Carpenter Committed by Eric Biggers
Browse files

UPSTREAM: ext4 crypto: fix some error handling



commit 4762cc3fbbd89e5fd316d6e4d3244a8984444f8d upstream.

We should be testing for -ENOMEM but the minus sign is missing.

Fixes: c9af28fdd449 ('ext4 crypto: don't let data integrity writebacks fail with ENOMEM')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 22823e95193a0598b5681481eee9940e4128ad35)
Change-Id: I7efd34d2d6f5dd7916e866f758ff7a85730a5f20
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent 9539ec0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment