Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74b907
)
fix buffer number for acl packing.
author
shadow
<shadow>
Tue, 28 Jul 2009 06:31:04 +0000
(06:31 +0000)
committer
shadow
<shadow>
Tue, 28 Jul 2009 06:31:04 +0000
(06:31 +0000)
Branch b1_8
b=20020
lustre/mds/mds_open.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_open.c
b/lustre/mds/mds_open.c
index
7475396
..
44f8d7e
100644
(file)
--- a/
lustre/mds/mds_open.c
+++ b/
lustre/mds/mds_open.c
@@
-836,7
+836,7
@@
static int mds_finish_open(struct ptlrpc_request *req, struct dentry *dchild,
if (req->rq_export->exp_connect_flags & OBD_CONNECT_ACL &&
rec && !(rec->ur_flags & MDS_OPEN_JOIN_FILE)) {
- int acl_off = DLM_REPLY_REC_OFF +
(body->eadatasize ? 2 : 1)
;
+ int acl_off = DLM_REPLY_REC_OFF +
2
;
rc = mds_pack_acl(&req->rq_export->exp_mds_data,
dchild->d_inode, req->rq_repmsg,