X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fliblustre%2Fsuper.c;h=6fddbf4a99101cb30c50348f20d094f36f6220b6;hp=d82e1c422bb4eb9a81363df046b247b6434263c6;hb=97b4e813cdfe499a29a4d4d35cfdde70251a773a;hpb=d26b63d96fe5fe3509bfc2429ec5ff22f586981d diff --git a/lustre/liblustre/super.c b/lustre/liblustre/super.c index d82e1c4..6fddbf4 100644 --- a/lustre/liblustre/super.c +++ b/lustre/liblustre/super.c @@ -1227,7 +1227,7 @@ static int llu_iop_mkdir_raw(struct pnode *pno, mode_t mode) RETURN(err); llu_prepare_mdc_op_data(&op_data, dir, NULL, name, len, 0); - err = mdc_create(llu_i2sbi(dir)->ll_mdc_exp, &op_data, NULL, 0, mode, + err = mdc_create(llu_i2sbi(dir)->ll_mdc_exp, &op_data, NULL, 0, mode | S_IFDIR, current->fsuid, current->fsgid, current->cap_effective, 0, &request); ptlrpc_req_finished(request);