Linux-EROFS Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] staging: erofs: option validation for remount and some code cleanups
@ 2018-09-18 15:10 Chengguang Xu
  2018-09-18 15:10 ` [PATCH v3 1/4] staging: erofs: code cleanup for erofs_kmalloc() Chengguang Xu
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Chengguang Xu @ 2018-09-18 15:10 UTC (permalink / raw)


This patch set mainly does option validation for remount and at
the same time does related code cleanups. Currently when we call
fault injection related code we have to surround it with macro
CONFIG_EROFS_FAULT_INJECTION in every calling place, after this
patch set we don't have to do that, so the code looks clean and
more understandable.

v2->v3:
- Fold related patches to one patch.
- Fix building issue.

v1->v2:
Address Chao's comments:
- Allow to set fault_injection=0.
- Keep flag bit when setting fault_injection=0.
- Show injection info in original place.
- Rebase code on latest erofs branch in Chao's linux tree.
- Fix building issue.

Hi Greg,

You may pick up rest 2-4 patches in this patch set if there
are no more comments from Chao and Xiang.

Thanks,

Chengguang Xu (4):
  staging: erofs: code cleanup for erofs_kmalloc()
  staging: erofs: code cleanup for option parsing of fault_injection
  staging: erofs: code cleanup for erofs_show_options()
  staging: erofs: option validation in remount

 drivers/staging/erofs/internal.h | 13 ++++--
 drivers/staging/erofs/super.c    | 73 +++++++++++++++++++++++++-------
 2 files changed, 67 insertions(+), 19 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-09-19  6:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-18 15:10 [PATCH v3 0/4] staging: erofs: option validation for remount and some code cleanups Chengguang Xu
2018-09-18 15:10 ` [PATCH v3 1/4] staging: erofs: code cleanup for erofs_kmalloc() Chengguang Xu
2018-09-18 15:10 ` [PATCH v3 2/4] staging: erofs: code cleanup for option parsing of fault_injection Chengguang Xu
2018-09-18 16:36   ` Gao Xiang
2018-09-18 15:10 ` [PATCH v3 3/4] staging: erofs: code cleanup for erofs_show_options() Chengguang Xu
2018-09-18 16:39   ` Gao Xiang
2018-09-18 15:10 ` [PATCH v3 4/4] staging: erofs: option validation in remount Chengguang Xu
2018-09-18 16:58   ` Gao Xiang
2018-09-19  6:56     ` Gao Xiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox