* 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/
CFS_LIST_HEAD(gl_list);
ENTRY;
+ lock->l_lvb_type = LVB_T_OST;
policy = ldlm_get_processing_policy(res);
LASSERT(policy != NULL);
LASSERT(req != NULL);
*/
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;
}