diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-07-01 12:13:27 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:46 -0400 |
commit | 3ea97309e6b18bce200211b3f9188e8023321adc (patch) | |
tree | a4a1f78dfd9b20df4df7dc08266b40f82205f16a /include/linux/nfs_fs.h | |
parent | 43780b87fa799ae65df11d89d4539d8d6a7c67eb (diff) |
NFS: Remake nfsroot_mount as a permanent part of NFS client
In preparation for supporting NFSv2 and NFSv3 mount option handling in the
kernel NFS client, convert mount_clnt.c to be a permanent part of the NFS
client, instead of built only when CONFIG_ROOT_NFS is enabled.
In addition, we also replace the "struct sockaddr_in *" argument with
something more generic, to help support IPv6 at some later point.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 04f659f1e560..c098ae194f79 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -494,10 +494,9 @@ static inline void nfs3_forget_cached_acls(struct inode *inode) | |||
494 | 494 | ||
495 | /* | 495 | /* |
496 | * linux/fs/mount_clnt.c | 496 | * linux/fs/mount_clnt.c |
497 | * (Used only by nfsroot module) | ||
498 | */ | 497 | */ |
499 | extern int nfsroot_mount(struct sockaddr_in *, char *, struct nfs_fh *, | 498 | extern int nfs_mount(struct sockaddr *, size_t, char *, char *, |
500 | int, int); | 499 | int, int, struct nfs_fh *); |
501 | 500 | ||
502 | /* | 501 | /* |
503 | * inline functions | 502 | * inline functions |