__u64 opc;
};
+/* Note this unaligned structure; as long as it's only used in ldlm_request
+ * below, we're probably fine. */
struct ldlm_resource_desc {
__u32 lr_type;
__u64 lr_name[RES_NAME_SIZE];
struct ldlm_reply {
__u32 lock_flags;
- __u64 lock_resource_name[RES_NAME_SIZE];
__u32 lock_mode;
+ __u64 lock_resource_name[RES_NAME_SIZE];
struct lustre_handle lock_handle;
struct ldlm_extent lock_extent; /* XXX make this policy 1 &2 */
__u64 lock_policy_res1;
ldlm_lock_cancel(lock);
}
} else {
- CERROR("Freeing lock %p still held by client node.\n",
- lock);
- ldlm_lock_dump(lock);
+ LDLM_DEBUG(lock, "Freeing a lock still held by a "
+ "client node.\n");
ldlm_resource_unlink_lock(lock);
ldlm_lock_destroy(lock);
/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
* vim:expandtab:shiftwidth=8:tabstop=8:
*
- * Copyright (C) 2001 Cluster File Systems, Inc.
+ * Copyright (C) 2001, 2002 Cluster File Systems, Inc.
*
* This code is issued under the GNU General Public License.
* See the file COPYING in this distribution
* infrastructure for managing object devices
*
* Object Devices Class Driver
- * Copyright (C) 2002 Cluster File Systems, Inc.
*/
#define EXPORT_SYMTAB