f2fs crypto: replace some BUG_ON()'s with error checks
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 6 Feb 2016 03:19:01 +0000 (19:19 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit66aa3e1274fcf887e9d6501a68163270fc7718e7
tree16e1eceb2697c666961be51bf341dc55e3037367
parent8ef2af45ae20f6348eeb3d0156f3eeddac2289e1
f2fs crypto: replace some BUG_ON()'s with error checks

This patch adopts:
ext4 crypto: replace some BUG_ON()'s with error checks

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/crypto.c
fs/f2fs/crypto_fname.c
fs/f2fs/crypto_key.c