projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
f2fs crypto: replace some BUG_ON()'s with error checks
[GitHub/exynos8895/android_kernel_samsung_universal8895.git]
/
fs
/
f2fs
/
crypto.c
diff --git
a/fs/f2fs/crypto.c
b/fs/f2fs/crypto.c
index 4a62ef14e93275a881f967ceabd66c6bd306345c..d879c6c846b75c27833a9eefb4ab31e1e22a2192 100644
(file)
--- a/
fs/f2fs/crypto.c
+++ b/
fs/f2fs/crypto.c
@@
-362,7
+362,6
@@
static int f2fs_page_crypto(struct f2fs_crypto_ctx *ctx,
else
res = crypto_ablkcipher_encrypt(req);
if (res == -EINPROGRESS || res == -EBUSY) {
- BUG_ON(req->base.data != &ecr);
wait_for_completion(&ecr.completion);
res = ecr.res;
}