f2fs: factor out discard command info into discard_cmd_control
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 11 Jan 2017 22:40:24 +0000 (14:40 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 23 Feb 2017 02:48:53 +0000 (18:48 -0800)
commit0b54fb8458199dbed409abb06933c27439ea0911
tree32da2196ef3fe6b1485a89ac7ae15833b293748d
parentd4adb30f25f5f2aa9b205891e395251d2a9098be
f2fs: factor out discard command info into discard_cmd_control

This patch adds discard_cmd_control with the existing discarding controls.

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