From 6562ffc47d9fd99352954e1362e8b7d03cc75b6e Mon Sep 17 00:00:00 2001 From: braam Date: Fri, 27 Jun 2003 20:42:20 +0000 Subject: [PATCH] - fix up super.c - minor change to llite_lib.c to avoid a warning. --- lustre/llite/llite_lib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 2f2c5a9..9f7c6fa 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -80,7 +80,10 @@ int ll_set_opt(const char *opt, char *data, int fl) void ll_options(char *options, char **ost, char **mds, int *flags) { - char *this_char, *opt_ptr = options; + char *this_char; +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) + char *opt_ptr = options; +#endif ENTRY; if (!options) { @@ -282,6 +285,7 @@ out_osc: out_mdc: obd_disconnect(&sbi->ll_mdc_conn, 0); out_free: + // lprocfs_unregister_mountpoint(sbi); OBD_FREE(sbi, sizeof(*sbi)); goto out_dev; -- 1.8.3.1