It'll crach fsck.f2fs. Even, let's keep the write pointers and just finish it.
Signed-off-by: Jaegeuk Kim
---
fsck/fsck.c | 20
1 file changed, 8 insertions(+), 12 deletions(-)
diff --git a/fsck/fsck.c b/fsck/fsck.c
index a18bee9d0c3b..5fe8ad4ef327 100644
--- a/fsck/fsck.c
Should finish zones if they are open.
Signed-off-by: Jaegeuk Kim
---
include/f2fs_fs.h | 2 ++
lib/libf2fs_zoned.c | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h
index 3f5583d18329..15a1c82ae18f 100644
--- a/include/f2fs_fs.h
+++
This file already uses sysfs_emit(). So be consistent and also use
sysfs_emit_at().
This slightly simplifies the code and makes it more readable.
Signed-off-by: Christophe JAILLET
---
Compile tested only
---
fs/f2fs/sysfs.c | 45 +
1 file changed, 21