diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-09 09:34:19 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-09 09:34:19 -0400 |
commit | 55a975937d40cac582e981ddc8ed783b3dcc043c (patch) | |
tree | 13507eaebdab5e9c9dd615fe373ec6c0ddcbade4 /include | |
parent | 8b4bdcf8995dd92b23d2ec22b32aee8fbbb50e1c (diff) |
NFS: Ensure the client submounts, when it crosses a server mountpoint.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfs_fs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 6763a0089ee4..0ce8704732c2 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -313,6 +313,10 @@ extern void nfs_end_data_update(struct inode *); | |||
313 | extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx); | 313 | extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx); |
314 | extern void put_nfs_open_context(struct nfs_open_context *ctx); | 314 | extern void put_nfs_open_context(struct nfs_open_context *ctx); |
315 | extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, int mode); | 315 | extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, int mode); |
316 | extern struct vfsmount *nfs_do_submount(const struct vfsmount *mnt_parent, | ||
317 | const struct dentry *dentry, | ||
318 | struct nfs_fh *fh, | ||
319 | struct nfs_fattr *fattr); | ||
316 | 320 | ||
317 | /* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */ | 321 | /* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */ |
318 | extern u32 root_nfs_parse_addr(char *name); /*__init*/ | 322 | extern u32 root_nfs_parse_addr(char *name); /*__init*/ |
@@ -399,6 +403,11 @@ extern void nfs_unregister_sysctl(void); | |||
399 | #endif | 403 | #endif |
400 | 404 | ||
401 | /* | 405 | /* |
406 | * linux/fs/nfs/namespace.c | ||
407 | */ | ||
408 | extern struct inode_operations nfs_mountpoint_inode_operations; | ||
409 | |||
410 | /* | ||
402 | * linux/fs/nfs/unlink.c | 411 | * linux/fs/nfs/unlink.c |
403 | */ | 412 | */ |
404 | extern int nfs_async_unlink(struct dentry *); | 413 | extern int nfs_async_unlink(struct dentry *); |