Whamcloud - gitweb
LU-12400 osd-ldiskfs: get rid of legacy 'get_ds()' function
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_compat.c
index 40e6d76..8f231cb 100644 (file)
@@ -59,7 +59,7 @@ static void osd_push_ctxt(const struct osd_device *dev,
        OBD_SET_CTXT_MAGIC(newctxt);
        newctxt->pwdmnt = dev->od_mnt;
        newctxt->pwd = dev->od_mnt->mnt_root;
-       newctxt->fs = get_ds();
+       newctxt->fs = KERNEL_DS;
        newctxt->umask = current_umask();
        newctxt->dt = NULL;