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
New tag 2.6.53
[fs/lustre-release.git]
/
lustre
/
mdd
/
mdd_compat.c
diff --git
a/lustre/mdd/mdd_compat.c
b/lustre/mdd/mdd_compat.c
index
76b5511
..
7b50624
100644
(file)
--- a/
lustre/mdd/mdd_compat.c
+++ b/
lustre/mdd/mdd_compat.c
@@
-20,7
+20,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright (c) 201
2
, Intel Corporation.
+ * Copyright (c) 201
3
, Intel Corporation.
*/
#define DEBUG_SUBSYSTEM S_MDS
*/
#define DEBUG_SUBSYSTEM S_MDS
@@
-136,7
+136,7
@@
static int mdd_convert_object(const struct lu_env *env,
const struct lu_name *name)
{
struct mdd_object *o;
const struct lu_name *name)
{
struct mdd_object *o;
- struct lu_attr *la =
&mdd_env_info(env)->mti_la
;
+ struct lu_attr *la =
MDD_ENV_VAR(env, cattr)
;
int rc;
ENTRY;
int rc;
ENTRY;
@@
-182,7
+182,7
@@
static int mdd_convert_lma(const struct lu_env *env, struct mdd_device *mdd,
lu_root_fid(&fid);
lma = (struct lustre_mdt_attrs *)&mdd_env_info(env)->mti_xattr_buf;
lu_root_fid(&fid);
lma = (struct lustre_mdt_attrs *)&mdd_env_info(env)->mti_xattr_buf;
- lustre_lma_init(lma, &fid, 0);
+ lustre_lma_init(lma, &fid, 0
, 0
);
lustre_lma_swab(lma);
buf.lb_buf = lma;
buf.lb_len = sizeof(*lma);
lustre_lma_swab(lma);
buf.lb_buf = lma;
buf.lb_len = sizeof(*lma);