File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed
drivers/staging/lustre/lustre Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change 39
39
#ifndef _LUSTRE_REQ_LAYOUT_H__
40
40
#define _LUSTRE_REQ_LAYOUT_H__
41
41
42
+ #include <linux/types.h>
43
+
42
44
/** \defgroup req_layout req_layout
43
45
*
44
46
* @{
@@ -66,11 +68,6 @@ struct req_capsule {
66
68
__u32 rc_area [RCL_NR ][REQ_MAX_FIELD_NR ];
67
69
};
68
70
69
- #if !defined(__REQ_LAYOUT_USER__ )
70
-
71
- /* struct ptlrpc_request, lustre_msg* */
72
- #include "lustre_net.h"
73
-
74
71
void req_capsule_init (struct req_capsule * pill , struct ptlrpc_request * req ,
75
72
enum req_location location );
76
73
void req_capsule_fini (struct req_capsule * pill );
@@ -120,9 +117,6 @@ void req_capsule_shrink(struct req_capsule *pill,
120
117
int req_layout_init (void );
121
118
void req_layout_fini (void );
122
119
123
- /* __REQ_LAYOUT_USER__ */
124
- #endif
125
-
126
120
extern struct req_format RQF_OBD_PING ;
127
121
extern struct req_format RQF_OBD_SET_INFO ;
128
122
extern struct req_format RQF_SEC_CTX ;
Original file line number Diff line number Diff line change 42
42
* of the format that the request conforms to.
43
43
*/
44
44
45
- #if !defined(__REQ_LAYOUT_USER__ )
46
-
47
45
#define DEBUG_SUBSYSTEM S_RPC
48
46
49
47
#include <linux/module.h>
57
55
#include "../include/obd.h"
58
56
#include "../include/obd_support.h"
59
57
60
- /* __REQ_LAYOUT_USER__ */
61
- #endif
62
58
/* struct ptlrpc_request, lustre_msg* */
63
59
#include "../include/lustre_req_layout.h"
64
60
#include "../include/lustre_acl.h"
@@ -1558,8 +1554,6 @@ struct req_format RQF_OST_GET_INFO_FIEMAP =
1558
1554
ost_get_fiemap_server );
1559
1555
EXPORT_SYMBOL (RQF_OST_GET_INFO_FIEMAP );
1560
1556
1561
- #if !defined(__REQ_LAYOUT_USER__ )
1562
-
1563
1557
/* Convenience macro */
1564
1558
#define FMT_FIELD (fmt , i , j ) (fmt)->rf_fields[(i)].d[(j)]
1565
1559
@@ -2238,6 +2232,3 @@ void req_capsule_shrink(struct req_capsule *pill,
2238
2232
1 );
2239
2233
}
2240
2234
EXPORT_SYMBOL (req_capsule_shrink );
2241
-
2242
- /* __REQ_LAYOUT_USER__ */
2243
- #endif
You can’t perform that action at this time.
0 commit comments