diff options
Diffstat (limited to 'include/linux/coda_psdev.h')
| -rw-r--r-- | include/linux/coda_psdev.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h index 72f2d2f0af91..8031d6eef102 100644 --- a/include/linux/coda_psdev.h +++ b/include/linux/coda_psdev.h | |||
| @@ -1,14 +1,9 @@ | |||
| 1 | #ifndef __CODA_PSDEV_H | 1 | #ifndef __CODA_PSDEV_H |
| 2 | #define __CODA_PSDEV_H | 2 | #define __CODA_PSDEV_H |
| 3 | 3 | ||
| 4 | #include <linux/magic.h> | ||
| 5 | |||
| 6 | #define CODA_PSDEV_MAJOR 67 | ||
| 7 | #define MAX_CODADEVS 5 /* how many do we allow */ | ||
| 8 | |||
| 9 | #ifdef __KERNEL__ | ||
| 10 | #include <linux/backing-dev.h> | 4 | #include <linux/backing-dev.h> |
| 11 | #include <linux/mutex.h> | 5 | #include <linux/mutex.h> |
| 6 | #include <uapi/linux/coda_psdev.h> | ||
| 12 | 7 | ||
| 13 | struct kstatfs; | 8 | struct kstatfs; |
| 14 | 9 | ||
| @@ -74,23 +69,4 @@ int venus_statfs(struct dentry *dentry, struct kstatfs *sfs); | |||
| 74 | */ | 69 | */ |
| 75 | 70 | ||
| 76 | extern struct venus_comm coda_comms[]; | 71 | extern struct venus_comm coda_comms[]; |
| 77 | #endif /* __KERNEL__ */ | ||
| 78 | |||
| 79 | /* messages between coda filesystem in kernel and Venus */ | ||
| 80 | struct upc_req { | ||
| 81 | struct list_head uc_chain; | ||
| 82 | caddr_t uc_data; | ||
| 83 | u_short uc_flags; | ||
| 84 | u_short uc_inSize; /* Size is at most 5000 bytes */ | ||
| 85 | u_short uc_outSize; | ||
| 86 | u_short uc_opcode; /* copied from data to save lookup */ | ||
| 87 | int uc_unique; | ||
| 88 | wait_queue_head_t uc_sleep; /* process' wait queue */ | ||
| 89 | }; | ||
| 90 | |||
| 91 | #define CODA_REQ_ASYNC 0x1 | ||
| 92 | #define CODA_REQ_READ 0x2 | ||
| 93 | #define CODA_REQ_WRITE 0x4 | ||
| 94 | #define CODA_REQ_ABORT 0x8 | ||
| 95 | |||
| 96 | #endif | 72 | #endif |
