From 7689b4ca32cfa81300efc4fa21baa32161330e9e Mon Sep 17 00:00:00 2001 From: tappro Date: Wed, 26 Nov 2008 21:03:29 +0000 Subject: [PATCH] - fix liblustre build b:17717 --- lustre/include/lustre_lib.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lustre/include/lustre_lib.h b/lustre/include/lustre_lib.h index 302c919..ed3f98c 100644 --- a/lustre/include/lustre_lib.h +++ b/lustre/include/lustre_lib.h @@ -75,7 +75,14 @@ void target_trans_table_init(struct obd_device *obd); __u32 target_trans_table_last_time(struct obd_export *exp); void target_trans_table_recalc(struct obd_device *obd, __u32 new_age); void target_trans_table_update(struct obd_export *exp, __u64 transno); +#ifdef __KERNEL__ int target_fs_version_capable(struct obd_device *obd); +#else +static inline int target_fs_version_capable(struct obd_device *obd) +{ + return 0; +} +#endif int target_handle_connect(struct ptlrpc_request *req, svc_handler_t handler); int target_handle_disconnect(struct ptlrpc_request *req); void target_destroy_export(struct obd_export *exp); -- 1.8.3.1