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:
Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by:
Theodore Ts'o <tytso@mit.edu>
Signed-off-by:
Eric Biggers <ebiggers@google.com>
Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 22823e95193a0598b5681481eee9940e4128ad35)
Change-Id: I7efd34d2d6f5dd7916e866f758ff7a85730a5f20
Signed-off-by:
Eric Biggers <ebiggers@google.com>
Loading
Please register or sign in to comment