ext4 crypto: fix some error handling
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 2 Apr 2016 22:13:38 +0000 (18:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 2 Apr 2016 22:13:38 +0000 (18:13 -0400)
commit4762cc3fbbd89e5fd316d6e4d3244a8984444f8d
tree8ae24f431df3dd5ddf7d88c2b0e909dc7b1fa0f9
parent8f0e8746b4d57303d84f7b161a201e94fe22638f
ext4 crypto: fix some error handling

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>
fs/ext4/page-io.c