f2fs: fix heap mode to reset it back
authorYunlong Song <yunlong.song@huawei.com>
Mon, 29 Jan 2018 03:37:45 +0000 (11:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Apr 2018 06:56:20 +0000 (08:56 +0200)
commitf9e66750d4bd0ea7b0fc3782387cb8373e7685eb
treedb982f617a5b8ca57e751f28c70adf3f69de517e
parente4fa275b8fddea4fa24872207aa64b8f2cdb8335
f2fs: fix heap mode to reset it back

commit b94929d975c8423defc9aededb0f499ff936b509 upstream.

Commit 7a20b8a61eff81bdb7097a578752a74860e9d142 ("f2fs: allocate node
and hot data in the beginning of partition") introduces another mount
option, heap, to reset it back. But it does not do anything for heap
mode, so fix it.

Cc: stable@vger.kernel.org
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/gc.c
fs/f2fs/segment.c