X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fofd%2Fofd_dlm.c;h=8c43a06eaeeb0ec7be1e1a5e3d8212212196d99b;hb=0aec97df129d2c6263c66454ee9039cd5dbfdf85;hp=6ed8fafacc65a0d5ce5e086b147dc727ea45757c;hpb=929ec628e6fef5609e55d519a1eb9e2cbbf1f1e8;p=fs%2Flustre-release.git diff --git a/lustre/ofd/ofd_dlm.c b/lustre/ofd/ofd_dlm.c index 6ed8faf..8c43a06 100644 --- a/lustre/ofd/ofd_dlm.c +++ b/lustre/ofd/ofd_dlm.c @@ -27,7 +27,7 @@ * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * - * Copyright (c) 2011, 2012, Whamcloud, Inc. + * Copyright (c) 2012, Intel Corporation. */ /* * This file is part of Lustre, http://www.lustre.org/ @@ -224,7 +224,7 @@ int ofd_intent_policy(struct ldlm_namespace *ns, struct ldlm_lock **lockp, */ if (l->l_glimpse_ast == NULL) { /* We are racing with unlink(); just return -ENOENT */ - rep->lock_policy_res1 = -ENOENT; + rep->lock_policy_res1 = ptlrpc_status_hton(-ENOENT); goto out; }