f2fs: add f2fs_bug_on in __remove_discard_cmd
authorChao Yu <yuchao0@huawei.com>
Mon, 5 Jun 2017 10:29:07 +0000 (18:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Jul 2017 09:11:37 +0000 (02:11 -0700)
commitd9703d9097d7c97f735a3b7870c52735a4dfa051
tree5cdfe1fba29116a6473ba2258d93aaf88daedb14
parent2a510c005c9d3fafbaae1a6d27da8256c95542f9
f2fs: add f2fs_bug_on in __remove_discard_cmd

Recently, discard related codes have changed a lot, so add f2fs_bug_on to
detect potential bug.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c