* Recommended e2fsprogs version: 1.41.6.sun1
Severity : normal
+Bugzilla : 20020
+Description: Fix mds_shrink_intent_reply()/mds_intent_policy() to pass correct
+ arguments and prevent LBUG() in lustre_shrink_reply_v2().
+
+Severity : normal
Bugzilla : 19689
Description: Change tunefs.lustre and mkfs.lustre --mountfsoptions so that
exactly the specified mount options are used. Leaving off
LDLM_DEBUG(lock, "intent policy, opc: %s", ldlm_it2str(it->opc));
if ((req->rq_export->exp_connect_flags & OBD_CONNECT_ACL) &&
- (it->opc & (IT_OPEN | IT_GETATTR | IT_LOOKUP)))
+ (it->opc & (IT_OPEN | IT_GETATTR | IT_LOOKUP | IT_READDIR)))
/* we should never allow OBD_CONNECT_ACL if not configured */
repsize[repbufcnt++] = LUSTRE_POSIX_ACL_MAX_SIZE;
else if (it->opc & IT_UNLINK)
void mds_shrink_intent_reply(struct ptlrpc_request *req,
int opc, int reply_mdoff)
{
- if (opc == REINT_UNLINK || opc == REINT_RENAME ||
- opc == REINT_OPEN)
- mds_shrink_reply(req, reply_mdoff, 1, 1);
-
+ switch (opc) {
+ case REINT_UNLINK:
+ case REINT_RENAME:
+ mds_shrink_reply(req, reply_mdoff, 1, 1);
+ break;
+ case REINT_OPEN:
+ mds_shrink_reply(req, reply_mdoff, 1, 0);
+ break;
+ default:
+ break;
+ }
}
static int mds_reint_unlink(struct mds_update_record *rec, int offset,