Re: [f2fs-dev] [PATCH] f2fs: fix defined but not used build warnings

2018-07-11 Thread Jaegeuk Kim
On 07/11, Randy Dunlap wrote: > On 07/09/2018 06:09 PM, Chao Yu wrote: > > On 2018/7/7 11:50, Randy Dunlap wrote: > >> From: Randy Dunlap > >> > >> Fix build warnings in f2fs when CONFIG_PROC_FS is not enabled > >> by marking the unused functions as __maybe_unused. > >> > >> ../fs/f2fs/sysfs.c:519

[f2fs-dev] [PATCH] fsck.f2fs: init quota_file before re-create quota file

2018-07-11 Thread Sheng Yong
`quota_handle->qh_qf->filesize' is not initialized by quota_create_file(). It contains random value, which is updated to quota file's i_size in quota_file_close(). Since quota file is re-created, `filesize' can be initialized as 0. Signed-off-by: Sheng Yong --- fsck/quotaio.c | 1 + 1 file chang

Re: [f2fs-dev] [PATCH] f2fs: fix defined but not used build warnings

2018-07-11 Thread Randy Dunlap
On 07/09/2018 06:09 PM, Chao Yu wrote: > On 2018/7/7 11:50, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix build warnings in f2fs when CONFIG_PROC_FS is not enabled >> by marking the unused functions as __maybe_unused. >> >> ../fs/f2fs/sysfs.c:519:12: warning: 'segment_info_seq_show' defined

[f2fs-dev] [PATCH 1/1] f2fs: checkpoint disabling

2018-07-11 Thread Daniel Rosenberg via Linux-f2fs-devel
This adds a lightweight non-persistent snapshotting scheme to f2fs. To use, mount with the option checkpoint=disable, and to return to normal operation, remount with checkpoint=enable. If the filesystem is shut down before remounting with checkpoint=enable, it will revert back to its apparent stat