From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gao Xiang Subject: Re: linux-next: build failure after merge of the staging tree Date: Mon, 30 Jul 2018 19:23:56 +0800 Message-ID: References: <559c49b8-9d58-e242-20c2-fe1b491664dd@huawei.com> <20180730161622.3837cb15@canb.auug.org.au> <2379.1532944057@warthog.procyon.org.uk> <15567.1532949496@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <15567.1532949496@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org To: David Howells Cc: Stephen Rothwell , Greg KH , Al Viro , Linux-Next Mailing List , Linux Kernel Mailing List , Miao Xie , Chao Yu List-Id: linux-next.vger.kernel.org On 2018/7/30 19:18, David Howells wrote: > Gao Xiang 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(). > OK, got you. Look forword to the new fs_context feature and thanks for your help :) Thanks, Gao Xiang > David >