* GPL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*/
/*
int flags);
int ldlm_cancel_lru_local(struct ldlm_namespace *ns,
cfs_list_t *cancels, int count, int max,
- int cancel_flags, int flags);
+ ldlm_cancel_flags_t cancel_flags, int flags);
extern int ldlm_enqueue_min;
int ldlm_get_enq_timeout(struct ldlm_lock *lock);
int rc; \
\
rc = lprocfs_wr_uint(file, buffer, count, &tmp); \
- if (rc) { \
+ if (rc < 0) { \
CERROR("Can't parse user input, rc = %d\n", rc); \
return rc; \
} \