Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-5396 all: use NULL instead of 0
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_mds.c
diff --git
a/lustre/mdt/mdt_mds.c
b/lustre/mdt/mdt_mds.c
index
424ddf5
..
d0b0b29
100644
(file)
--- a/
lustre/mdt/mdt_mds.c
+++ b/
lustre/mdt/mdt_mds.c
@@
-138,7
+138,7
@@
static int mds_start_ptlrpc_service(struct mds_device *m)
{
static struct ptlrpc_service_conf conf;
struct obd_device *obd = m->mds_md_dev.md_lu_dev.ld_obd;
-
cfs_proc_dir_entry_t
*procfs_entry;
+
struct proc_dir_entry
*procfs_entry;
int rc = 0;
ENTRY;
@@
-468,7
+468,7
@@
LPROC_SEQ_FOPS_RO_TYPE(mds, uuid);
static struct lprocfs_seq_vars lprocfs_mds_obd_vars[] = {
{ "uuid", &mds_uuid_fops },
- {
0
}
+ {
NULL
}
};
static struct lu_device *mds_device_alloc(const struct lu_env *env,
@@
-495,7
+495,7
@@
static struct lu_device *mds_device_alloc(const struct lu_env *env,
obd->obd_lu_dev = l;
obd->obd_vars = lprocfs_mds_obd_vars;
- rc = lprocfs_
seq_
obd_setup(obd);
+ rc = lprocfs_obd_setup(obd);
if (rc != 0) {
mds_device_free(env, l);
l = ERR_PTR(rc);
@@
-548,9
+548,6
@@
int mds_mod_init(void)
}
return class_register_type(&mds_obd_device_ops, NULL, true, NULL,
-#ifndef HAVE_ONLY_PROCFS_SEQ
- NULL,
-#endif
LUSTRE_MDS_NAME, &mds_device_type);
}