]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix a regression when loading the NFS v4 module
authorbjschuma@gmail.com <bjschuma@gmail.com>
Wed, 8 Aug 2012 17:57:06 +0000 (13:57 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Aug 2012 20:15:49 +0000 (16:15 -0400)
commit81bb176b66d0c77a43134172f3160ba975910148
tree11dddf11209a60b9063bc64cd5fdd86f9983a180
parent39430780b4a92b220791ae7b619020066485816e
NFS: Fix a regression when loading the NFS v4 module

Some systems have a modprobe.d/nfs.conf file that sets an nfs4 alias
pointing to nfs.ko, rather than nfs4.ko.  This can prevent the v4 module
from loading on mount, since the kernel sees that something named "nfs4"
has already been loaded.  To work around this, I've renamed the modules
to "nfsv2.ko" "nfsv3.ko" and "nfsv4.ko".

I also had to move the nfs4_fs_type back to nfs.ko to ensure that `mount
-t nfs4` still works.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/Makefile
fs/nfs/client.c
fs/nfs/nfs4_fs.h
fs/nfs/nfs4super.c
fs/nfs/super.c