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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
mdc
/
mdc_locks.c
diff --git
a/lustre/mdc/mdc_locks.c
b/lustre/mdc/mdc_locks.c
index
70aca4a
..
c546ef8
100644
(file)
--- a/
lustre/mdc/mdc_locks.c
+++ b/
lustre/mdc/mdc_locks.c
@@
-644,11
+644,10
@@
int mdc_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo,
struct mdt_remote_perm *perm;
LASSERT(client_is_remote(exp));
struct mdt_remote_perm *perm;
LASSERT(client_is_remote(exp));
- perm = req_capsule_server_get(pill, &RMF_ACL);
+ perm = req_capsule_server_swab_get(pill, &RMF_ACL,
+ lustre_swab_mdt_remote_perm);
if (perm == NULL)
RETURN(-EPROTO);
if (perm == NULL)
RETURN(-EPROTO);
-
- lustre_swab_mdt_remote_perm(perm);
}
if (body->valid & OBD_MD_FLMDSCAPA) {
struct lustre_capa *capa, *p;
}
if (body->valid & OBD_MD_FLMDSCAPA) {
struct lustre_capa *capa, *p;