aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/vlocation.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-10-17 02:26:41 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:50 -0400
commitc1206a2c6d87def4af5379e6fef64e928d882ab2 (patch)
tree388c36ab43b2f9d2cf463871866b0fa97aa4154b /fs/afs/vlocation.c
parenta4d63e729edad704af95e5f2a56e8c8eaaa5216b (diff)
fs/afs/: possible cleanups
This patch contains the following possible cleanups: - make the following needlessly global functions static: - rxrpc.c: afs_send_pages() - vlocation.c: afs_vlocation_queue_for_updates() - write.c: afs_writepages_region() - make the following needlessly global variables static: - mntpt.c: afs_mntpt_expiry_timeout - proc.c: afs_vlocation_states[] - server.c: afs_server_timeout - vlocation.c: afs_vlocation_timeout - vlocation.c: afs_vlocation_update_timeout - #if 0 the following unused function: - cell.c: afs_get_cell_maybe() - #if 0 the following unused variables: - callback.c: afs_vnode_update_timeout - cmservice.c: struct afs_cm_workqueue Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/afs/vlocation.c')
-rw-r--r--fs/afs/vlocation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/afs/vlocation.c b/fs/afs/vlocation.c
index 09e3ad0fc7cc..7b4bbe48112d 100644
--- a/fs/afs/vlocation.c
+++ b/fs/afs/vlocation.c
@@ -15,8 +15,8 @@
15#include <linux/sched.h> 15#include <linux/sched.h>
16#include "internal.h" 16#include "internal.h"
17 17
18unsigned afs_vlocation_timeout = 10; /* volume location timeout in seconds */ 18static unsigned afs_vlocation_timeout = 10; /* volume location timeout in seconds */
19unsigned afs_vlocation_update_timeout = 10 * 60; 19static unsigned afs_vlocation_update_timeout = 10 * 60;
20 20
21static void afs_vlocation_reaper(struct work_struct *); 21static void afs_vlocation_reaper(struct work_struct *);
22static void afs_vlocation_updater(struct work_struct *); 22static void afs_vlocation_updater(struct work_struct *);
@@ -335,7 +335,7 @@ static int afs_vlocation_fill_in_record(struct afs_vlocation *vl,
335/* 335/*
336 * queue a vlocation record for updates 336 * queue a vlocation record for updates
337 */ 337 */
338void afs_vlocation_queue_for_updates(struct afs_vlocation *vl) 338static void afs_vlocation_queue_for_updates(struct afs_vlocation *vl)
339{ 339{
340 struct afs_vlocation *xvl; 340 struct afs_vlocation *xvl;
341 341