Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2430 mdd: add lfs mv to migrate inode.
[fs/lustre-release.git]
/
lustre
/
mgs
/
mgs_nids.c
diff --git
a/lustre/mgs/mgs_nids.c
b/lustre/mgs/mgs_nids.c
index
a2bae59
..
24c9d22
100644
(file)
--- a/
lustre/mgs/mgs_nids.c
+++ b/
lustre/mgs/mgs_nids.c
@@
-253,7
+253,7
@@
static int nidtbl_update_version(const struct lu_env *env,
GOTO(out_put, rc = PTR_ERR(th));
th->th_sync = 1; /* update table synchronously */
- rc = dt_declare_record_write(env, fsdb,
buf.lb_len
, off, th);
+ rc = dt_declare_record_write(env, fsdb,
&buf
, off, th);
if (rc)
GOTO(out, rc);