lkml.org 
[lkml]   [2018]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 14/33] vfs: Implement a filesystem superblock creation/configuration context [ver #11]
Date
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

\
 
 \ /
  Last update: 2018-09-18 17:35    [W:0.163 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site