X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_dlm.h;h=738154b78c2ee171f328495ba4603952d36c2caf;hp=5262a1db6de3b6910b25af520b085707a8361595;hb=e5abcf83c0575b8a79594c1eb9ea727739d91522;hpb=bd596fbe449f4fbab18ed184ccce1e141928b116 diff --git a/lustre/include/lustre_dlm.h b/lustre/include/lustre_dlm.h index 5262a1d..738154b 100644 --- a/lustre/include/lustre_dlm.h +++ b/lustre/include/lustre_dlm.h @@ -302,7 +302,7 @@ struct ldlm_valblock_ops { int (*lvbo_size)(struct ldlm_lock *lock); /* Called to fill in lvb data to RPC buffer @buf */ int (*lvbo_fill)(const struct lu_env *env, struct ldlm_lock *lock, - void *buf, int buflen); + void *buf, int *buflen); }; /** @@ -1122,7 +1122,7 @@ static inline int ldlm_lvbo_size(struct ldlm_lock *lock) } static inline int ldlm_lvbo_fill(const struct lu_env *env, - struct ldlm_lock *lock, void *buf, int len) + struct ldlm_lock *lock, void *buf, int *len) { struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); int rc;