X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Flmv%2Flproc_lmv.c;h=1f8b5a611914033c236d24f435ad9218df6ed36d;hb=a3e6b142c074df8ef20cbf3a9d9f7687c9ed9a5f;hp=352a5787b0563283ce78ae246a9f5b57abef7cbd;hpb=2b294992edce5af7b79d4300ed3aa1ea6a8db850;p=fs%2Flustre-release.git diff --git a/lustre/lmv/lproc_lmv.c b/lustre/lmv/lproc_lmv.c index 352a578..1f8b5a6 100644 --- a/lustre/lmv/lproc_lmv.c +++ b/lustre/lmv/lproc_lmv.c @@ -44,7 +44,7 @@ #include "lmv_internal.h" -#ifndef LPROCFS +#ifndef CONFIG_PROC_FS static struct lprocfs_vars lprocfs_module_vars[] = { {0} }; static struct lprocfs_vars lprocfs_obd_vars[] = { {0} }; #else @@ -205,7 +205,7 @@ static int lmv_target_seq_open(struct inode *inode, struct file *file) LPROC_SEQ_FOPS_RO_TYPE(lmv, uuid); -struct lprocfs_seq_vars lprocfs_lmv_obd_vars[] = { +struct lprocfs_vars lprocfs_lmv_obd_vars[] = { { .name = "numobd", .fops = &lmv_numobd_fops }, { .name = "placement", @@ -216,7 +216,7 @@ struct lprocfs_seq_vars lprocfs_lmv_obd_vars[] = { .fops = &lmv_uuid_fops }, { .name = "desc_uuid", .fops = &lmv_desc_uuid_fops }, - { 0 } + { NULL } }; struct file_operations lmv_proc_target_fops = { @@ -226,4 +226,4 @@ struct file_operations lmv_proc_target_fops = { .llseek = seq_lseek, .release = seq_release, }; -#endif /* LPROCFS */ +#endif /* CONFIG_PROC_FS */