Whamcloud - gitweb
LU-5795 kernel: kernel update [SLES11 SP3 3.0.101-0.40]
[fs/lustre-release.git] / lustre / mgs / mgs_internal.h
index 6d10d5f..d400c67 100644 (file)
@@ -167,10 +167,10 @@ struct mgs_device {
        struct dt_object                *mgs_nidtbl_dir;
        struct list_head                 mgs_fs_db_list;
        spinlock_t                       mgs_lock; /* covers mgs_fs_db_list */
-       cfs_proc_dir_entry_t            *mgs_proc_live;
-       cfs_proc_dir_entry_t            *mgs_proc_osd;
-       cfs_proc_dir_entry_t            *mgs_proc_fstype;
-       cfs_proc_dir_entry_t            *mgs_proc_mntdev;
+       struct proc_dir_entry           *mgs_proc_live;
+       struct proc_dir_entry           *mgs_proc_osd;
+       struct proc_dir_entry           *mgs_proc_fstype;
+       struct proc_dir_entry           *mgs_proc_mntdev;
        cfs_time_t                       mgs_start_time;
        struct obd_device               *mgs_obd;
        struct local_oid_storage        *mgs_los;
@@ -217,7 +217,7 @@ int mgs_pool_cmd(const struct lu_env *env, struct mgs_device *mgs,
                 char *ostname);
 int mgs_nodemap_cmd(const struct lu_env *env, struct mgs_device *mgs,
                    enum lcfg_command_type cmd, const char *nodemap_name,
-                   const char *param);
+                   char *param);
 
 /* mgs_handler.c */
 int  mgs_get_lock(struct obd_device *obd, struct ldlm_res_id *res,