diff options
author | David Howells <dhowells@redhat.com> | 2007-04-26 18:49:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-26 18:49:28 -0400 |
commit | ec26815ad847dbf74a1e27aa5515fb7d5dc6ee6f (patch) | |
tree | 32510ab35b3524f6be9231ab8065b80be5d9b68d /fs/afs/internal.h | |
parent | 17926a79320afa9b95df6b977b40cca6d8713cea (diff) |
[AFS]: Clean up the AFS sources
Clean up the AFS sources.
Also remove references to AFS keys. RxRPC keys are used instead.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index 5151d5da2c2f..b6dd20a93cce 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* internal.h: internal AFS stuff | 1 | /* internal AFS stuff |
2 | * | 2 | * |
3 | * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved. | 3 | * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved. |
4 | * Written by David Howells (dhowells@redhat.com) | 4 | * Written by David Howells (dhowells@redhat.com) |
@@ -73,26 +73,16 @@ extern const struct address_space_operations afs_fs_aops; | |||
73 | extern const struct inode_operations afs_file_inode_operations; | 73 | extern const struct inode_operations afs_file_inode_operations; |
74 | 74 | ||
75 | #ifdef AFS_CACHING_SUPPORT | 75 | #ifdef AFS_CACHING_SUPPORT |
76 | extern int afs_cache_get_page_cookie(struct page *page, | 76 | extern int afs_cache_get_page_cookie(struct page *, struct cachefs_page **); |
77 | struct cachefs_page **_page_cookie); | ||
78 | #endif | 77 | #endif |
79 | 78 | ||
80 | /* | 79 | /* |
81 | * inode.c | 80 | * inode.c |
82 | */ | 81 | */ |
83 | extern int afs_iget(struct super_block *sb, struct afs_fid *fid, | 82 | extern int afs_iget(struct super_block *, struct afs_fid *, struct inode **); |
84 | struct inode **_inode); | 83 | extern int afs_inode_getattr(struct vfsmount *, struct dentry *, |
85 | extern int afs_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, | 84 | struct kstat *); |
86 | struct kstat *stat); | 85 | extern void afs_clear_inode(struct inode *); |
87 | extern void afs_clear_inode(struct inode *inode); | ||
88 | |||
89 | /* | ||
90 | * key_afs.c | ||
91 | */ | ||
92 | #ifdef CONFIG_KEYS | ||
93 | extern int afs_key_register(void); | ||
94 | extern void afs_key_unregister(void); | ||
95 | #endif | ||
96 | 86 | ||
97 | /* | 87 | /* |
98 | * main.c | 88 | * main.c |
@@ -110,7 +100,7 @@ extern struct afs_timer afs_mntpt_expiry_timer; | |||
110 | extern struct afs_timer_ops afs_mntpt_expiry_timer_ops; | 100 | extern struct afs_timer_ops afs_mntpt_expiry_timer_ops; |
111 | extern unsigned long afs_mntpt_expiry_timeout; | 101 | extern unsigned long afs_mntpt_expiry_timeout; |
112 | 102 | ||
113 | extern int afs_mntpt_check_symlink(struct afs_vnode *vnode); | 103 | extern int afs_mntpt_check_symlink(struct afs_vnode *); |
114 | 104 | ||
115 | /* | 105 | /* |
116 | * super.c | 106 | * super.c |
@@ -123,17 +113,17 @@ extern void afs_fs_exit(void); | |||
123 | extern struct list_head afs_cb_hash_tbl[]; | 113 | extern struct list_head afs_cb_hash_tbl[]; |
124 | extern spinlock_t afs_cb_hash_lock; | 114 | extern spinlock_t afs_cb_hash_lock; |
125 | 115 | ||
126 | #define afs_cb_hash(SRV,FID) \ | 116 | #define afs_cb_hash(SRV, FID) \ |
127 | afs_cb_hash_tbl[((unsigned long)(SRV) + \ | 117 | afs_cb_hash_tbl[((unsigned long)(SRV) + \ |
128 | (FID)->vid + (FID)->vnode + (FID)->unique) % \ | 118 | (FID)->vid + (FID)->vnode + (FID)->unique) & \ |
129 | AFS_CB_HASH_COUNT] | 119 | (AFS_CB_HASH_COUNT - 1)] |
130 | 120 | ||
131 | /* | 121 | /* |
132 | * proc.c | 122 | * proc.c |
133 | */ | 123 | */ |
134 | extern int afs_proc_init(void); | 124 | extern int afs_proc_init(void); |
135 | extern void afs_proc_cleanup(void); | 125 | extern void afs_proc_cleanup(void); |
136 | extern int afs_proc_cell_setup(struct afs_cell *cell); | 126 | extern int afs_proc_cell_setup(struct afs_cell *); |
137 | extern void afs_proc_cell_remove(struct afs_cell *cell); | 127 | extern void afs_proc_cell_remove(struct afs_cell *); |
138 | 128 | ||
139 | #endif /* AFS_INTERNAL_H */ | 129 | #endif /* AFS_INTERNAL_H */ |