Commit a3dab293 authored by Adrian Bunk's avatar Adrian Bunk Committed by Trond Myklebust

make nfs_automount_list static

nfs_automount_list can now become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent daa7da5f
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
static void nfs_expire_automounts(struct work_struct *work); static void nfs_expire_automounts(struct work_struct *work);
LIST_HEAD(nfs_automount_list); static LIST_HEAD(nfs_automount_list);
static DECLARE_DELAYED_WORK(nfs_automount_task, nfs_expire_automounts); static DECLARE_DELAYED_WORK(nfs_automount_task, nfs_expire_automounts);
int nfs_mountpoint_expiry_timeout = 500 * HZ; int nfs_mountpoint_expiry_timeout = 500 * HZ;
......
...@@ -430,7 +430,6 @@ extern void nfs_unregister_sysctl(void); ...@@ -430,7 +430,6 @@ extern void nfs_unregister_sysctl(void);
/* /*
* linux/fs/nfs/namespace.c * linux/fs/nfs/namespace.c
*/ */
extern struct list_head nfs_automount_list;
extern const struct inode_operations nfs_mountpoint_inode_operations; extern const struct inode_operations nfs_mountpoint_inode_operations;
extern const struct inode_operations nfs_referral_inode_operations; extern const struct inode_operations nfs_referral_inode_operations;
extern int nfs_mountpoint_expiry_timeout; extern int nfs_mountpoint_expiry_timeout;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment