Re: [PATCH v27 02/10] fs/ntfs3: Add initialization of super block

From: Christoph Hellwig
Date: Tue Aug 10 2021 - 05:02:43 EST


> +static struct dentry *ntfs_mount(struct file_system_type *fs_type, int flags,
> + const char *dev_name, void *data)
> +{
> + return mount_bdev(fs_type, flags, dev_name, data, ntfs_fill_super);
> +}
> +
> +static struct file_system_type ntfs_fs_type = {
> + .owner = THIS_MODULE,
> + .name = "ntfs3",
> + .mount = ntfs_mount,
> + .kill_sb = kill_block_super,
> + .fs_flags = FS_REQUIRES_DEV,
> +};

You can't add new callers of mount_bdev or users of the old mount
support. Please switch to the file system context based API before
resending. Take a look at e.g. XFS for how to implement it.