From a7b81473b9faae359aa98c9d1e6cadd795e36d2f Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 26 Feb 2009 08:29:30 +0000 Subject: [PATCH] - bug in argument order fixed --- lustre/include/dt_object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/include/dt_object.h b/lustre/include/dt_object.h index 21a5857..d9582a5 100644 --- a/lustre/include/dt_object.h +++ b/lustre/include/dt_object.h @@ -693,7 +693,7 @@ static inline int dt_record_read(const struct lu_env *env, static inline int dt_declare_record_write(const struct lu_env *env, struct dt_object *dt, - loff_t pos, int len, + int size, loff_t pos, struct thandle *th, struct lustre_capa *capa) { @@ -701,7 +701,7 @@ static inline int dt_declare_record_write(const struct lu_env *env, LASSERTF(dt != NULL, "dt is NULL when we want to write record\n"); LASSERT(th != NULL); - rc = dt->do_body_ops->dbo_declare_write(env, dt, pos, len, th, capa); + rc = dt->do_body_ops->dbo_declare_write(env, dt, size, pos, th, capa); return rc; } -- 1.8.3.1