X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fmdd%2Fmdd_lock.c;h=7d99f7e475f7255191370fe7f97d0e0b4beea85f;hb=b0f08a4e902411a8fbdb660e5b32c5821ca7159f;hp=1fdbd8b4a2b4ab8e32081b9cdef30a5bbf0f6158;hpb=e2af7fb3c91dfb13d34d8e1b2f2df8c09621f768;p=fs%2Flustre-release.git diff --git a/lustre/mdd/mdd_lock.c b/lustre/mdd/mdd_lock.c index 1fdbd8b..7d99f7e 100644 --- a/lustre/mdd/mdd_lock.c +++ b/lustre/mdd/mdd_lock.c @@ -26,6 +26,8 @@ /* * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. + * + * Copyright (c) 2012, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -122,7 +124,7 @@ void mdd_pdo_read_unlock(const struct lu_env *env, struct mdd_object *obj, #else /* !MDD_DISABLE_PDO_LOCK */ #ifdef CONFIG_LOCKDEP -static cfs_lock_class_key_t mdd_pdirop_key; +static struct lock_class_key mdd_pdirop_key; #define RETIP ((unsigned long)__builtin_return_address(0))