X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fosd-ldiskfs%2Fosd_compat.c;h=de373e5e3aa4ff1db560f64b2a6587b717a04072;hb=95918f47fd9e427235722ed90cc26e725dca2f3a;hp=9d01f7242533f5f4bea2dd0906224d472da5c5d4;hpb=f288434cd97d4ce6314054ff73fe0e9ee03eb139;p=fs%2Flustre-release.git diff --git a/lustre/osd-ldiskfs/osd_compat.c b/lustre/osd-ldiskfs/osd_compat.c index 9d01f72..de373e5 100644 --- a/lustre/osd-ldiskfs/osd_compat.c +++ b/lustre/osd-ldiskfs/osd_compat.c @@ -66,6 +66,8 @@ static void osd_push_ctxt(const struct osd_device *dev, newctxt->pwdmnt = dev->od_mnt; newctxt->pwd = dev->od_mnt->mnt_root; newctxt->fs = get_ds(); + newctxt->umask = current_umask(); + newctxt->dt = NULL; push_ctxt(save, newctxt); }