X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fmds%2Fhandler.c;h=9b015ca8bbbe2b69a68c4a1673715063e035ff06;hp=ad0947b5f70d085ea36eb01f4183de0b68fa230a;hb=d750891e478804bc495ffa075d771d1816369958;hpb=595ce7a56e34d59ae1644373bbc0bafa4cd77c4d diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index ad0947b..9b015ca 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -367,7 +367,7 @@ static int mds_cmd_setup(struct obd_device *obd, struct lustre_cfg *lcfg) mds_init_ctxt(obd, mnt); push_ctxt(&saved, &obd->obd_lvfs_ctxt, NULL); - dentry = simple_mkdir(current->fs->pwd, mnt, "OBJECTS", 0777, 1); + dentry = simple_mkdir(cfs_fs_pwd(current->fs), mnt, "OBJECTS", 0777, 1); if (IS_ERR(dentry)) { rc = PTR_ERR(dentry); CERROR("cannot create OBJECTS directory: rc = %d\n", rc); @@ -375,7 +375,7 @@ static int mds_cmd_setup(struct obd_device *obd, struct lustre_cfg *lcfg) } mds->mds_objects_dir = dentry; - dentry = ll_lookup_one_len("__iopen__", current->fs->pwd, + dentry = ll_lookup_one_len("__iopen__", cfs_fs_pwd(current->fs), strlen("__iopen__")); if (IS_ERR(dentry)) { rc = PTR_ERR(dentry); @@ -448,7 +448,7 @@ static int mds_cmd_cleanup(struct obd_device *obd) } dput(mds->mds_fid_de); - LL_DQUOT_OFF(obd->u.obt.obt_sb); + ll_vfs_dq_off(obd->u.obt.obt_sb, 0); shrink_dcache_sb(mds->mds_obt.obt_sb); fsfilt_put_ops(obd->obd_fsops);