NFS: Create a common xdev_mount() function
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 10 May 2012 19:07:35 +0000 (15:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 May 2012 00:30:28 +0000 (17:30 -0700)
commit8c958e0c4c52d600bd2ea677eb920fceda8aee49
tree3590ce9504dad5d8dd7eab81429981758de5da8e
parentc40f8d1d35a27d81b4af9d5d2f7286fd978ae9b2
NFS: Create a common xdev_mount() function

The only difference between nfs_xdev_mount() and nfs4_xdev_mount() is the
clone_super() function called to clone the super block.  I can combine
these two functions by using the fill_super field in the mount_info
structure.

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