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/fsclient.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/fsclient.h')
-rw-r--r-- | fs/afs/fsclient.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/fs/afs/fsclient.h b/fs/afs/fsclient.h index 8ba3e749ee3c..e2b0b7bcd09d 100644 --- a/fs/afs/fsclient.h +++ b/fs/afs/fsclient.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* fsclient.h: AFS File Server client stub declarations | 1 | /* AFS File Server client stub declarations |
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) |
@@ -9,18 +9,18 @@ | |||
9 | * 2 of the License, or (at your option) any later version. | 9 | * 2 of the License, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #ifndef _LINUX_AFS_FSCLIENT_H | 12 | #ifndef AFS_FSCLIENT_H |
13 | #define _LINUX_AFS_FSCLIENT_H | 13 | #define AFS_FSCLIENT_H |
14 | 14 | ||
15 | #include "server.h" | 15 | #include "server.h" |
16 | 16 | ||
17 | extern int afs_rxfs_get_volume_info(struct afs_server *server, | 17 | extern int afs_rxfs_get_volume_info(struct afs_server *, |
18 | const char *name, | 18 | const char *, |
19 | struct afs_volume_info *vinfo); | 19 | struct afs_volume_info *); |
20 | 20 | ||
21 | extern int afs_rxfs_fetch_file_status(struct afs_server *server, | 21 | extern int afs_rxfs_fetch_file_status(struct afs_server *, |
22 | struct afs_vnode *vnode, | 22 | struct afs_vnode *, |
23 | struct afs_volsync *volsync); | 23 | struct afs_volsync *); |
24 | 24 | ||
25 | struct afs_rxfs_fetch_descriptor { | 25 | struct afs_rxfs_fetch_descriptor { |
26 | struct afs_fid fid; /* file ID to fetch */ | 26 | struct afs_fid fid; /* file ID to fetch */ |
@@ -30,25 +30,25 @@ struct afs_rxfs_fetch_descriptor { | |||
30 | size_t actual; /* actual size sent back by server */ | 30 | size_t actual; /* actual size sent back by server */ |
31 | }; | 31 | }; |
32 | 32 | ||
33 | extern int afs_rxfs_fetch_file_data(struct afs_server *server, | 33 | extern int afs_rxfs_fetch_file_data(struct afs_server *, |
34 | struct afs_vnode *vnode, | 34 | struct afs_vnode *, |
35 | struct afs_rxfs_fetch_descriptor *desc, | 35 | struct afs_rxfs_fetch_descriptor *, |
36 | struct afs_volsync *volsync); | 36 | struct afs_volsync *); |
37 | 37 | ||
38 | extern int afs_rxfs_give_up_callback(struct afs_server *server, | 38 | extern int afs_rxfs_give_up_callback(struct afs_server *, |
39 | struct afs_vnode *vnode); | 39 | struct afs_vnode *); |
40 | 40 | ||
41 | /* this doesn't appear to work in OpenAFS server */ | 41 | /* this doesn't appear to work in OpenAFS server */ |
42 | extern int afs_rxfs_lookup(struct afs_server *server, | 42 | extern int afs_rxfs_lookup(struct afs_server *, |
43 | struct afs_vnode *dir, | 43 | struct afs_vnode *, |
44 | const char *filename, | 44 | const char *, |
45 | struct afs_vnode *vnode, | 45 | struct afs_vnode *, |
46 | struct afs_volsync *volsync); | 46 | struct afs_volsync *); |
47 | 47 | ||
48 | /* this is apparently mis-implemented in OpenAFS server */ | 48 | /* this is apparently mis-implemented in OpenAFS server */ |
49 | extern int afs_rxfs_get_root_volume(struct afs_server *server, | 49 | extern int afs_rxfs_get_root_volume(struct afs_server *, |
50 | char *buf, | 50 | char *, |
51 | size_t *buflen); | 51 | size_t *); |
52 | 52 | ||
53 | 53 | ||
54 | #endif /* _LINUX_AFS_FSCLIENT_H */ | 54 | #endif /* AFS_FSCLIENT_H */ |