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
/
mdt
/
mdt_capa.c
diff --git
a/lustre/mdt/mdt_capa.c
b/lustre/mdt/mdt_capa.c
index
7c755ce
..
ee316d7
100644
(file)
--- a/
lustre/mdt/mdt_capa.c
+++ b/
lustre/mdt/mdt_capa.c
@@
-91,7
+91,8
@@
static int write_capa_keys(const struct lu_env *env,
RETURN(PTR_ERR(th));
rc = dt_declare_record_write(env, mdt->mdt_ck_obj,
- sizeof(*tmp) * 3, 0, th);
+ mdt_buf_const(env, NULL,
+ sizeof(*tmp) * 3), 0, th);
if (rc)
goto stop;