Replace previous change by different test
[minix.git] / servers / vfs / scratchpad.h
blobf33a01c3a8c4f7bc4965933e84029ede76d6390a
1 #ifndef __VFS_SCRATCHPAD_H__
2 #define __VFS_SCRATCHPAD_H__
4 /* This is the per-process information. A slot is reserved for each potential
5 * process. Thus NR_PROCS must be the same as in the kernel.
6 */
7 EXTERN struct scratchpad {
8 union sp_data {
9 int fd_nr;
10 struct filp *filp;
11 } file;
12 struct io_cmd {
13 char *io_buffer;
14 size_t io_nbytes;
15 } io;
16 } scratchpad[NR_PROCS];
18 #endif