From: Al Viro <viro@ZenIV.linux.org.uk>
To: Bob Liu <lliubbo@gmail.com>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: vfs: where is get_sb_single()?
Date: Wed, 25 May 2011 10:33:08 +0100 [thread overview]
Message-ID: <20110525093308.GA11521@ZenIV.linux.org.uk> (raw)
In-Reply-To: <BANLkTin0GwQYc+fAgSSFcsVysOPfxrin0A@mail.gmail.com>
On Wed, May 25, 2011 at 03:19:58PM +0800, Bob Liu wrote:
> Hi, folks
>
> I found that fs/super.c doesn't have get_sb_single() anymore.
>
> But I can't find the git log which delete that function.
> Some out of tree file systems depends on that function.
The same out of tree filesystems depend on ->get_sb() being there...
See Documentation/filesystems/porting:
[mandatory]
->get_sb() is gone. Switch to use of ->mount(). Typically it's just
a matter of switching from calling get_sb_... to mount_... and changing the
function type. If you were doing it manually, just switch from setting ->mnt_root
to some pointer to returning that pointer. On errors return ERR_PTR(...).
IOW, odds are good that you'll need to do something like what had been
done in commit 152a08366671080f27b32e0c411ad620c5f88b57 - not terribly
complicated.
next prev parent reply other threads:[~2011-05-25 9:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-25 7:19 Bob Liu
2011-05-25 8:44 ` Jesper Juhl
2011-05-25 9:33 ` Al Viro [this message]
2011-05-25 13:22 ` Bob Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110525093308.GA11521@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=lliubbo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®