提交 a3dab293 编写于 作者: A Adrian Bunk 提交者: Trond Myklebust

make nfs_automount_list static

nfs_automount_list can now become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册