Whamcloud - gitweb
Branch b1_8_gate
authoryangsheng <yangsheng>
Thu, 24 Jul 2008 14:56:43 +0000 (14:56 +0000)
committeryangsheng <yangsheng>
Thu, 24 Jul 2008 14:56:43 +0000 (14:56 +0000)
b=15308
i=johann, shadow, zhenyu.xu, brian

Update to SLES10 SP2 kernel-2.6.16.60-0.23 and update to OFED-1.3.1.

lustre/mgs/mgs_fs.c

index 3e58281..735a3d5 100644 (file)
@@ -195,7 +195,7 @@ int mgs_fs_setup(struct obd_device *obd, struct vfsmount *mnt)
         push_ctxt(&saved, &obd->obd_lvfs_ctxt, NULL);
 
         /* Setup the configs dir */
-        dentry = simple_mkdir(current->fs->pwd, MOUNT_CONFIGS_DIR, 0777, 1);
+        dentry = simple_mkdir(current->fs->pwd, mnt, MOUNT_CONFIGS_DIR, 0777, 1);
         if (IS_ERR(dentry)) {
                 rc = PTR_ERR(dentry);
                 CERROR("cannot create %s directory: rc = %d\n",