]> err.no Git - linux-2.6/commitdiff
make nfs_automount_list static
authorAdrian Bunk <bunk@kernel.org>
Mon, 14 Apr 2008 18:41:32 +0000 (21:41 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:55:29 +0000 (16:55 -0400)
nfs_automount_list can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/namespace.c
include/linux/nfs_fs.h

index 607f6eb9cdb519f549ce19e590470d24e52ed90e..af4d0f1e402cdc79696bbb96343ca004a4dd7a43 100644 (file)
@@ -20,7 +20,7 @@
 
 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);
 int nfs_mountpoint_expiry_timeout = 500 * HZ;
 
index 7f0602c877123cb94e4026750db2b1a24937247c..27d6a8d98cef02477abf89c69337a1f77fbc208b 100644 (file)
@@ -430,7 +430,6 @@ extern void nfs_unregister_sysctl(void);
 /*
  * 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_referral_inode_operations;
 extern int nfs_mountpoint_expiry_timeout;