Re: [git pull] mnt_devname queue

From: Xiaotian Feng
Date: Thu Mar 17 2011 - 01:45:55 EST


On Thu, Mar 17, 2011 at 7:56 AM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> Â Â Â ÂKills ->mnt_devname mangling in NFS, completes switch from ->get_sb()
> to ->mount() (and kills the remnants of ->get_sb() helpers), makes /proc/mounts
> and /proc/*/mountinfo show the right thing after mount --bind on NFS. ÂTrond
> has ACKed the nfs side of things and suggested to push through the vfs tree,
> so please pull from
> git:git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git/ mnt_devname
>
> Shortlog:
> Al Viro (8):
> Â Â Ânfs: propagate devname to nfs{,4}_get_root()
> Â Â Ânfs: store devname at disconnected NFS roots
> Â Â Ânfs: make nfs_path() work without vfsmount
> Â Â Ânfs: nfs_do_{ref,sub}mount() superblock argument is redundant
> Â Â Âvfs: new superblock methods to override /proc/*/mount{s,info}
> Â Â Ânfs: stop mangling ->mnt_devname on NFS
> Â Â Ânfs: switch NFS from ->get_sb() to ->mount()
> Â Â Âvfs: bury ->get_sb()

I guess we need also switch pstore from ->get_sb() to ->mount()

fs/pstore/inode.c:253: error: unknown field âget_sbâ specified in initializer
fs/pstore/inode.c:253: warning: initialization makes integer from
pointer without a cast
fs/pstore/inode.c:253: error: initializer element is not computable at load time
fs/pstore/inode.c:253: error: (near initialization for
âpstore_fs_type.fs_flagsâ)

>
> Diffstat:
> ÂDocumentation/filesystems/Locking | Â Â6 +-
> ÂDocumentation/filesystems/porting | Â Â7 ++
> ÂDocumentation/filesystems/vfs.txt | Â 56 ++++++-----
> Âfs/namespace.c          Â|  39 ++++++--
> Âfs/nfs/dir.c           Â|  13 +++
> Âfs/nfs/getroot.c         Â|  42 +++++++-
> Âfs/nfs/internal.h         |  21 ++--
> Âfs/nfs/namespace.c        Â|  66 ++++++++-----
> Âfs/nfs/nfs4namespace.c      Â|  41 +++-----
> Âfs/nfs/super.c          Â| Â194 +++++++++++++++++++------------------
> Âfs/nfs/unlink.c          |  20 ++++
> Âfs/super.c            Â|  67 +------------
> Âinclude/linux/fs.h        Â|  16 +---
> Â13 files changed, 316 insertions(+), 272 deletions(-)
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> Please read the FAQ at Âhttp://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/