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>
This commit is contained in:
Jaegeuk Kim 2016-02-05 19:19:01 -08:00
commit 66aa3e1274
3 changed files with 12 additions and 6 deletions