[PATCH] fs/nfs/: make code static
Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b7b52630de
commit
66f37509fc
@@ -26,6 +26,11 @@ LIST_HEAD(nfs_automount_list);
|
|||||||
static DECLARE_WORK(nfs_automount_task, nfs_expire_automounts, &nfs_automount_list);
|
static DECLARE_WORK(nfs_automount_task, nfs_expire_automounts, &nfs_automount_list);
|
||||||
int nfs_mountpoint_expiry_timeout = 500 * HZ;
|
int nfs_mountpoint_expiry_timeout = 500 * HZ;
|
||||||
|
|
||||||
|
static struct vfsmount *nfs_do_submount(const struct vfsmount *mnt_parent,
|
||||||
|
const struct dentry *dentry,
|
||||||
|
struct nfs_fh *fh,
|
||||||
|
struct nfs_fattr *fattr);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* nfs_path - reconstruct the path given an arbitrary dentry
|
* nfs_path - reconstruct the path given an arbitrary dentry
|
||||||
* @base - arbitrary string to prepend to the path
|
* @base - arbitrary string to prepend to the path
|
||||||
@@ -209,8 +214,9 @@ static struct vfsmount *nfs_do_clone_mount(struct nfs_server *server,
|
|||||||
* @fattr - attributes for new root inode
|
* @fattr - attributes for new root inode
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
struct vfsmount *nfs_do_submount(const struct vfsmount *mnt_parent,
|
static struct vfsmount *nfs_do_submount(const struct vfsmount *mnt_parent,
|
||||||
const struct dentry *dentry, struct nfs_fh *fh,
|
const struct dentry *dentry,
|
||||||
|
struct nfs_fh *fh,
|
||||||
struct nfs_fattr *fattr)
|
struct nfs_fattr *fattr)
|
||||||
{
|
{
|
||||||
struct nfs_clone_mount mountdata = {
|
struct nfs_clone_mount mountdata = {
|
||||||
|
@@ -315,10 +315,6 @@ extern void nfs_end_data_update(struct inode *);
|
|||||||
extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx);
|
extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx);
|
||||||
extern void put_nfs_open_context(struct nfs_open_context *ctx);
|
extern void put_nfs_open_context(struct nfs_open_context *ctx);
|
||||||
extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, int mode);
|
extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, int mode);
|
||||||
extern struct vfsmount *nfs_do_submount(const struct vfsmount *mnt_parent,
|
|
||||||
const struct dentry *dentry,
|
|
||||||
struct nfs_fh *fh,
|
|
||||||
struct nfs_fattr *fattr);
|
|
||||||
|
|
||||||
/* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */
|
/* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */
|
||||||
extern u32 root_nfs_parse_addr(char *name); /*__init*/
|
extern u32 root_nfs_parse_addr(char *name); /*__init*/
|
||||||
|
Reference in New Issue
Block a user