f2fs: introduce release_discard_addr() for cleanup
authorChao Yu <yuchao0@huawei.com>
Wed, 25 Apr 2018 09:38:29 +0000 (17:38 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 Jun 2018 22:49:24 +0000 (15:49 -0700)
commit50644840d86036c025de4cebe1bbb508e569436b
treed017351b60d535d5ef1690074fba5cda02f9e83d
parent39b292a40288301d73dd18c71ca9456eda831914
f2fs: introduce release_discard_addr() for cleanup

Introduce release_discard_addr() to include common codes for cleanup.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
[Fengguang Wu: declare static function, reported by kbuild test robot]
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c