-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
int ptlrpcd_start(int index, int max, const char *name, struct ptlrpcd_ctl *pc);
/* client.c */
+struct ptlrpc_bulk_desc *new_bulk(int npages, int type, int portal);
void ptlrpc_init_xid(void);
/* events.c */
return (rc == -ENOTCONN || rc == -ENODEV);
}
+#ifdef HAVE_SERVER_SUPPORT
+/* target.c */
+int lut_mod_init(void);
+void lut_mod_exit(void);
+#else
+static inline int lut_mod_init(void)
+{
+ return 0;
+}
+
+static inline void lut_mod_exit(void)
+{
+ return;
+}
+#endif
+
static inline void ptlrpc_reqset_put(struct ptlrpc_request_set *set)
{
if (cfs_atomic_dec_and_test(&set->set_refcount))