Skip to content
Snippets Groups Projects
Commit 2c7e0471 authored by Johann Lombardi's avatar Johann Lombardi
Browse files

Branch b1_6

b=13358
i=wangdi
i=nikita

Impossible (EPROTO is returned) to access a directory that has a
non-default striping and ACLs.
parent 2621384c
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,12 @@ Details : Don't take the BKL in fsfilt_ext3_setattr() for 2.6 kernels. ...@@ -57,6 +57,12 @@ Details : Don't take the BKL in fsfilt_ext3_setattr() for 2.6 kernels.
It causes scheduling issues when removing large files (17TB in the It causes scheduling issues when removing large files (17TB in the
present case). present case).
Severity : normal
Bugzilla : 13358
Description: 1.4.11 Can't handle directories with stripe set and extended acls
Details : Impossible (EPROTO is returned) to access a directory that has a
non-default striping and ACLs.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
2007-09-27 Cluster File Systems, Inc. <info@clusterfs.com> 2007-09-27 Cluster File Systems, Inc. <info@clusterfs.com>
......
...@@ -447,6 +447,11 @@ int mdc_req2lustre_md(struct ptlrpc_request *req, int offset, ...@@ -447,6 +447,11 @@ int mdc_req2lustre_md(struct ptlrpc_request *req, int offset,
offset++; offset++;
} }
if (md->body->valid & OBD_MD_FLDIREA) {
LASSERT(S_ISDIR(md->body->mode));
offset++;
}
/* for ACL, it's possible that FLACL is set but aclsize is zero. /* for ACL, it's possible that FLACL is set but aclsize is zero.
* only when aclsize != 0 there's an actual segment for ACL in * only when aclsize != 0 there's an actual segment for ACL in
* reply buffer. * reply buffer.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment