aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/9p/9p.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/9p/9p.h')
-rw-r--r--include/net/9p/9p.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index a6326ef8ade6..2d70b95b3b55 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -76,11 +76,8 @@ do { \
76 } \ 76 } \
77} while (0) 77} while (0)
78 78
79#define P9_DUMP_PKT(way, pdu) p9pdu_dump(way, pdu)
80
81#else 79#else
82#define P9_DPRINTK(level, format, arg...) do { } while (0) 80#define P9_DPRINTK(level, format, arg...) do { } while (0)
83#define P9_DUMP_PKT(way, pdu) do { } while (0)
84#endif 81#endif
85 82
86 83
@@ -359,6 +356,9 @@ enum p9_qid_t {
359/* Room for readdir header */ 356/* Room for readdir header */
360#define P9_READDIRHDRSZ 24 357#define P9_READDIRHDRSZ 24
361 358
359/* size of header for zero copy read/write */
360#define P9_ZC_HDR_SZ 4096
361
362/** 362/**
363 * struct p9_qid - file system entity information 363 * struct p9_qid - file system entity information
364 * @type: 8-bit type &p9_qid_t 364 * @type: 8-bit type &p9_qid_t
@@ -555,10 +555,6 @@ struct p9_rstatfs {
555 * @tag: transaction id of the request 555 * @tag: transaction id of the request
556 * @offset: used by marshalling routines to track current position in buffer 556 * @offset: used by marshalling routines to track current position in buffer
557 * @capacity: used by marshalling routines to track total malloc'd capacity 557 * @capacity: used by marshalling routines to track total malloc'd capacity
558 * @pubuf: Payload user buffer given by the caller
559 * @pkbuf: Payload kernel buffer given by the caller
560 * @pbuf_size: pubuf/pkbuf(only one will be !NULL) size to be read/write.
561 * @private: For transport layer's use.
562 * @sdata: payload 558 * @sdata: payload
563 * 559 *
564 * &p9_fcall represents the structure for all 9P RPC 560 * &p9_fcall represents the structure for all 9P RPC
@@ -575,10 +571,6 @@ struct p9_fcall {
575 571
576 size_t offset; 572 size_t offset;
577 size_t capacity; 573 size_t capacity;
578 char __user *pubuf;
579 char *pkbuf;
580 size_t pbuf_size;
581 void *private;
582 574
583 u8 *sdata; 575 u8 *sdata;
584}; 576};