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, 31 May 2018 18:31:49 +0000 (11:31 -0700)
commitaf8ff65bb85df39159944811a241f0dd827f0d76
tree1dab331cc47c5a0a4386d48cdb63e9776c984478
parenta9af3fdcc4258af406879eca63d82e9d6baa892e
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