#ifndef __OBD_RPC_H
#define __OBD_RPC_H
+/*
+ * Copyright (C) 2001 Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
#include <linux/sunrpc/svc.h>
#define OBD_TGT_VERSION 001
#define OBD_TGT_SOFT 0x4
+/* generic wrappable next */
+
+#define NEXT_INDEX(index, max) \
+ (((index + 1) >= max) ? 0 : (index + 1))
/* error codes */