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
/
include
/
lustre_lmv.h
diff --git
a/lustre/include/lustre_lmv.h
b/lustre/include/lustre_lmv.h
index
ce0bfa6
..
fc15717
100644
(file)
--- a/
lustre/include/lustre_lmv.h
+++ b/
lustre/include/lustre_lmv.h
@@
-98,8
+98,10
@@
static inline void lmv_cpu_to_le(union lmv_mds_md *lmv_dst,
{
switch (lmv_src->lmv_magic) {
case LMV_MAGIC_V1:
+ case LMV_MAGIC_MIGRATE: {
lmv1_cpu_to_le(&lmv_dst->lmv_md_v1, &lmv_src->lmv_md_v1);
break;
+ }
default:
break;
}
@@
-110,10
+112,13
@@
static inline void lmv_le_to_cpu(union lmv_mds_md *lmv_dst,
{
switch (le32_to_cpu(lmv_src->lmv_magic)) {
case LMV_MAGIC_V1:
+ case LMV_MAGIC_MIGRATE: {
lmv1_le_to_cpu(&lmv_dst->lmv_md_v1, &lmv_src->lmv_md_v1);
break;
+ }
default:
break;
}
}
+
#endif