lkml.org 
[lkml]   [2018]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-next: build failure after merge of the staging tree
Date
Gao Xiang <gaoxiang25@huawei.com> wrote:

> struct erofs_mount_private priv = {
> .dev_name = dev_name,
> .options = data
> };
> return mount_bdev(fs_type, flags, dev_name, &priv, erofs_fill_super);
>
>
> However, I have no idea if it is safe to do so in the future, so I also
> change it into a more stardard way.

Hopefully, in the near future, you won't do it like this at all, but rather
create an fs_context and then your filesystem would be able to munge that
directly before calling mount_bdev().

David

\
 
 \ /
  Last update: 2018-07-30 13:18    [W:0.073 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site