Whamcloud - gitweb
Yet another test script, this one for the DLM.
[fs/lustre-release.git] / lustre / obdclass / pack.c
1 /*
2  *  pack.c
3  *  Copyright (C) 2001  Cluster File Systems, Inc.
4  *
5  *  This code is issued under the GNU General Public License.
6  *  See the file COPYING in this distribution
7  *
8  *  
9  */
10
11
12 #include <linux/mm.h>
13 #include <linux/pagemap.h>
14 #include <linux/fs.h>
15 #include <linux/sched.h>
16 #include <asm/uaccess.h>
17
18 #include <linux/obd_support.h>
19 #include <linux/obd_class.h>
20 #include <linux/obd_lib.h>
21
22
23 void obd_req_pack(char **buf, int max, struct obd_req *req)
24 {
25         char *ptr;
26
27         ptr = *buf;
28
29         LOGP(ptr, struct obdo, obd req->oa);
30         LOGP(ptr, struct obd_conn, obd req->obd);
31
32 }