]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/f2fs/f2fs.h
f2fs: report error of do_checkpoint
authorChao Yu <chao2.yu@samsung.com>
Wed, 23 Dec 2015 09:50:30 +0000 (17:50 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 Dec 2015 18:14:09 +0000 (10:14 -0800)
commitc34f42e2cb2d27650549306de5ff36839e9177d6
tree1672f5a7ac38c08f558d26c27c835c5ccabf6943
parent2a3407607028f7c780f1c20faa4e922bf631d340
f2fs: report error of do_checkpoint

do_checkpoint and write_checkpoint can fail due to reasons like triggering
in a readonly fs or encountering IO error of storage device.

So it's better to report such error info to user, let user be aware of
failure of doing checkpoint.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/super.c