Skip to content
Snippets Groups Projects
Commit a198203d authored by deen's avatar deen
Browse files

Little fixes proposed by Andreas after inspection.

b=11301
parent f151a8e9
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ void ldlm_resource_insert_lock_after(struct ldlm_lock *original,
struct ldlm_cb_set_arg {
struct ptlrpc_request_set *set;
atomic_t restart;
__u16 type; /* LDLM_BL_CALLBACK or LDLM_CP_CALLBACK */
__u32 type; /* LDLM_BL_CALLBACK or LDLM_CP_CALLBACK */
};
void ldlm_grant_lock(struct ldlm_lock *lock, struct list_head *work_list);
......
......@@ -560,7 +560,7 @@ int ldlm_server_blocking_ast(struct ldlm_lock *lock,
struct ldlm_lock_desc *desc,
void *data, int flag)
{
struct ldlm_cb_set_arg *arg = (struct ldlm_cb_set_arg *)data;
struct ldlm_cb_set_arg *arg = data;
struct ldlm_request *body;
struct ptlrpc_request *req;
int size[] = { [MSG_PTLRPC_BODY_OFF] = sizeof(struct ptlrpc_body),
......@@ -642,7 +642,7 @@ int ldlm_server_blocking_ast(struct ldlm_lock *lock,
int ldlm_server_completion_ast(struct ldlm_lock *lock, int flags, void *data)
{
struct ldlm_cb_set_arg *arg = (struct ldlm_cb_set_arg *)data;
struct ldlm_cb_set_arg *arg = data;
struct ldlm_request *body;
struct ptlrpc_request *req;
struct timeval granted_time;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment