diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-05 19:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 19:36:47 -0400 |
commit | 75c96f85845a6707b0f9916cb263cb3584f7d48f (patch) | |
tree | 45a64d1c9bb71d7093db3a11e0f21465c2e3dec6 /fs/locks.c | |
parent | 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 (diff) |
[PATCH] make some things static
This patch makes some needlessly global identifiers static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Arjan van de Ven <arjanv@infradead.org>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/locks.c')
-rw-r--r-- | fs/locks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/locks.c b/fs/locks.c index 1792ce547af7..3fa6a7ce57a7 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -406,12 +406,12 @@ static void lease_release_private_callback(struct file_lock *fl) | |||
406 | fl->fl_file->f_owner.signum = 0; | 406 | fl->fl_file->f_owner.signum = 0; |
407 | } | 407 | } |
408 | 408 | ||
409 | int lease_mylease_callback(struct file_lock *fl, struct file_lock *try) | 409 | static int lease_mylease_callback(struct file_lock *fl, struct file_lock *try) |
410 | { | 410 | { |
411 | return fl->fl_file == try->fl_file; | 411 | return fl->fl_file == try->fl_file; |
412 | } | 412 | } |
413 | 413 | ||
414 | struct lock_manager_operations lease_manager_ops = { | 414 | static struct lock_manager_operations lease_manager_ops = { |
415 | .fl_break = lease_break_callback, | 415 | .fl_break = lease_break_callback, |
416 | .fl_release_private = lease_release_private_callback, | 416 | .fl_release_private = lease_release_private_callback, |
417 | .fl_mylease = lease_mylease_callback, | 417 | .fl_mylease = lease_mylease_callback, |
@@ -1274,7 +1274,7 @@ int fcntl_getlease(struct file *filp) | |||
1274 | * | 1274 | * |
1275 | * Called with kernel lock held. | 1275 | * Called with kernel lock held. |
1276 | */ | 1276 | */ |
1277 | int __setlease(struct file *filp, long arg, struct file_lock **flp) | 1277 | static int __setlease(struct file *filp, long arg, struct file_lock **flp) |
1278 | { | 1278 | { |
1279 | struct file_lock *fl, **before, **my_before = NULL, *lease = *flp; | 1279 | struct file_lock *fl, **before, **my_before = NULL, *lease = *flp; |
1280 | struct dentry *dentry = filp->f_dentry; | 1280 | struct dentry *dentry = filp->f_dentry; |