X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fldlm%2Fldlm_plain.c;h=5b5d9e60ddd72de67d272717c821e1e54e5bb3c4;hp=486885c190e219d1fb3bde71e7f4bd5038869782;hb=fc086a8623ae899ed0def8f7e7f622edfbd7a31b;hpb=8c83e7d75989ef527e43a824a0dbe46bffabd07d diff --git a/lustre/ldlm/ldlm_plain.c b/lustre/ldlm/ldlm_plain.c index 486885c..5b5d9e6 100644 --- a/lustre/ldlm/ldlm_plain.c +++ b/lustre/ldlm/ldlm_plain.c @@ -29,8 +29,7 @@ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011 Whamcloud, Inc. - * + * Copyright (c) 2011, Whamcloud, Inc. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -54,6 +53,7 @@ #include "ldlm_internal.h" +#ifdef HAVE_SERVER_SUPPORT static inline int ldlm_plain_compat_queue(cfs_list_t *queue, struct ldlm_lock *req, cfs_list_t *work_list) @@ -162,6 +162,7 @@ int ldlm_process_plain_lock(struct ldlm_lock *lock, int *flags, int first_enq, } RETURN(0); } +#endif /* HAVE_SERVER_SUPPORT */ void ldlm_plain_policy_wire_to_local(const ldlm_wire_policy_data_t *wpolicy, ldlm_policy_data_t *lpolicy)