erofs: convert to use the new mount fs_context api
PATCH v4 1/1 erofs: convert to use the new mount fs_context api
From: Chao Yu <[email protected]>
Convert the erofs to use new internal mount API as the old one will be obsoleted and removed. This allows greater flexibility in communication of mount parameters between userspace, the VFS and the filesystem.
See Documentation/filesystems/mount_api.txt for more information.
Cc Al Viro <[email protected]>
Cc David Howells <[email protected]>
Signed-off-by Chao Yu <[email protected]>
Signed-off-by Gao Xiang <[email protected]>
---
changes since v3:
- rebased on merge.nfs-fs_parse branch;
- add missing trailing NIL entry {} to constant_table.
Hi Al,
Friendly ping... Would you kindly consider this?
Thank you very much!
Gao Xiang
fs/erofs/internal.h | 2 +- fs/erofs/super.c | 234 +++++++++++++++++++------------------------- 2 files changed, 102 insertions(+), 134 deletions(-)
fs/erofs/internal.h +1 -1
@@ -102,13 +102,13 @@ struct erofs_sb_info {#define set_opt (sbi, option) ((sbi)->mount_opt |= EROFS_MOUNT_##option)#define test_opt (sbi, option) ((sbi)->mount_opt & EROFS_MOUNT_##option) -#ifdef CONFIG_EROFS_FS_ZIP enum {EROFS_ZIP_CACHE_DISABLED ,EROFS_ZIP_CACHE_READAHEAD ,EROFS_ZIP_CACHE_READAROUND }; +#ifdef CONFIG_EROFS_FS_ZIP #define EROFS_LOCKED_MAGIC (INT_MIN | 0xE0F510CCL)/* basic unit of the workstation of a super_block */
fs/erofs/super.c +101 -133
309 lines not on this page · raw message
Signature · 1 line
2.17.1