summaryrefslogtreecommitdiff
path: root/fs/f2fs/file.c
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2015-12-15 12:17:20 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2015-12-16 19:58:05 +0300
commitb39f0de23d8f22253d441b3b68414e9a1d027cf6 (patch)
treec0ae15b7ea59f9d15ab653396fa4d094d1f94319 /fs/f2fs/file.c
parenta1c1e9b74ff380176bf3862c764061e0a7efd9bb (diff)
downloadlinux-b39f0de23d8f22253d441b3b68414e9a1d027cf6.tar.xz
f2fs: backup raw_super in sbi
f2fs use fields of f2fs_super_block struct directly in a grabbed buffer. Once the buffer happen to be destroyed (e.g. through dd), it may bring in unpredictable effect on f2fs. This patch fixes to allocate additional buffer to store datas of super block rather than using grabbed block buffer directly. Signed-off-by: Yunlei He <heyunlei@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/file.c')
0 files changed, 0 insertions, 0 deletions