lkml.org 
[lkml]   [2011]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: vfs: where is get_sb_single()?
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.


\
 
 \ /
  Last update: 2011-05-25 11:35    [W:0.050 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site