]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix an NFSv4 mount regression
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 10 Jul 2012 16:04:15 +0000 (12:04 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 10 Jul 2012 17:25:39 +0000 (13:25 -0400)
commit31851f3b3332af25795bef289ba38edbcb3e41b4
tree4bf9ba079430463b352fb44e3aa03d0b1b4284d5
parentd4831321d3e8374b81d344014f2f052da6b504c6
NFSv4: Fix an NFSv4 mount regression

The helper nfs_fs_mount() will always call nfs4_try_mount with the
mount_info->fill_super argument pointing to nfs_fill_super, which is
NFSv2/v3 only.
Fix is to have nfs4_try_mount replace it with nfs4_fill_super.

The regression was introduced by commit c527ebf8 (NFS: Create a common
fs_mount() function)

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/super.c