f2fs: refactor f2fs_commit_super
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 7 Dec 2015 18:16:58 +0000 (10:16 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 9 Dec 2015 17:51:07 +0000 (09:51 -0800)
commit5d909cdbbba244ecb4c2dfc4dc3e3bc29529fb05
tree19a5dfdc95dc888537105a6b9633d2775bcce53e
parent80609448cd63b700a37427e423c201fc5e16e95a
f2fs: refactor f2fs_commit_super

Previously, f2fs_commit_super hacks the bh->blocknr to write the broken
alternate superblock.
Instead of it, we should use the correct logic to retrieve its buffer head
with locking it appropriately.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c
This page took 0.027103 seconds and 5 git commands to generate.