X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Flclient%2Flcommon_misc.c;h=5b85217334c9ae4d91a909488873efce09eaa789;hb=9f7e47cfc7f0346ac2eb0ab45c8dff058c271fa1;hp=ee4fef34a6e48c44cb22e8b588b0e61f5b4d6da7;hpb=7877f9ebf7cde785319f92e4a1fd033def11f23a;p=fs%2Flustre-release.git diff --git a/lustre/lclient/lcommon_misc.c b/lustre/lclient/lcommon_misc.c index ee4fef3..5b85217 100644 --- a/lustre/lclient/lcommon_misc.c +++ b/lustre/lclient/lcommon_misc.c @@ -26,7 +26,7 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ /* @@ -102,13 +102,13 @@ int cl_ocd_update(struct obd_device *host, flags = cli->cl_import->imp_connect_data.ocd_connect_flags; CDEBUG(D_SUPER, "Changing connect_flags: "LPX64" -> "LPX64"\n", lco->lco_flags, flags); - mutex_down(&lco->lco_lock); + cfs_mutex_down(&lco->lco_lock); lco->lco_flags &= flags; /* for each osc event update ea size */ if (lco->lco_dt_exp) cl_init_ea_size(lco->lco_md_exp, lco->lco_dt_exp); - mutex_up(&lco->lco_lock); + cfs_mutex_up(&lco->lco_lock); result = 0; } else { CERROR("unexpected notification from %s %s!\n",