aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/coda_psdev.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-19 15:19:19 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-10-19 15:19:19 -0400
commite05dacd71db0a5da7c1a44bcaab2a8a240b9c233 (patch)
tree31382cf1c7d62c03126448affb2fc86e8c4aaa8b /include/linux/coda_psdev.h
parent3ab0b83bf6a1e834f4b884150d8012990c75d25d (diff)
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
Merge commit 'v3.7-rc1' into stable/for-linus-3.7
* commit 'v3.7-rc1': (10892 commits) Linux 3.7-rc1 x86, boot: Explicitly include autoconf.h for hostprogs perf: Fix UAPI fallout ARM: config: make sure that platforms are ordered by option string ARM: config: sort select statements alphanumerically UAPI: (Scripted) Disintegrate include/linux/byteorder UAPI: (Scripted) Disintegrate include/linux UAPI: Unexport linux/blk_types.h UAPI: Unexport part of linux/ppp-comp.h perf: Handle new rbtree implementation procfs: don't need a PATH_MAX allocation to hold a string representation of an int vfs: embed struct filename inside of names_cache allocation if possible audit: make audit_inode take struct filename vfs: make path_openat take a struct filename pointer vfs: turn do_path_lookup into wrapper around struct filename variant audit: allow audit code to satisfy getname requests from its names_list vfs: define struct filename and have getname() return it btrfs: Fix compilation with user namespace support enabled userns: Fix posix_acl_file_xattr_userns gid conversion userns: Properly print bluetooth socket uids ...
Diffstat (limited to 'include/linux/coda_psdev.h')
-rw-r--r--include/linux/coda_psdev.h26
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
13struct kstatfs; 8struct kstatfs;
14 9
@@ -74,23 +69,4 @@ int venus_statfs(struct dentry *dentry, struct kstatfs *sfs);
74 */ 69 */
75 70
76extern struct venus_comm coda_comms[]; 71extern struct venus_comm coda_comms[];
77#endif /* __KERNEL__ */
78
79/* messages between coda filesystem in kernel and Venus */
80struct 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