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

UPSTREAM: ext4 crypto: fix some error handling



commit 4762cc3f upstream.

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

Fixes: c9af28fd ('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 22823e95)
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 to comment