Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH 14/33] vfs: Implement a filesystem superblock creation/configuration context [ver #11] | Date | Tue, 18 Sep 2018 16:34:39 +0100 |
| |
Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> wrote:
> static void do_emergency_remount_callback(struct super_block *sb) > { > struct fs_context fc = { > + .ops = &legacy_fs_context_ops, > .purpose = FS_CONTEXT_FOR_EMERGENCY_RO, > .fs_type = sb->s_type, > .root = sb->s_root,
Actually, we do need to call ->init_fs_context() or legacy_init_fs_context() to set the ops pointer.
David
| |