.write = gss_proc_write_secinit,
};
-static struct lprocfs_seq_vars gss_lprocfs_vars[] = {
+static struct lprocfs_vars gss_lprocfs_vars[] = {
{ .name = "replays",
.fops = &gss_proc_oos_fops },
{ .name = "init_channel",
}
LPROC_SEQ_FOPS(gss_lk_proc_dl);
-static struct lprocfs_seq_vars gss_lk_lprocfs_vars[] = {
+static struct lprocfs_vars gss_lk_lprocfs_vars[] = {
{ .name = "debug_level",
.fops = &gss_lk_proc_dl_fops },
{ NULL }
spin_lock_init(&gss_stat_oos.oos_lock);
- gss_proc_root = lprocfs_seq_register("gss", sptlrpc_proc_root,
- gss_lprocfs_vars, NULL);
+ gss_proc_root = lprocfs_register("gss", sptlrpc_proc_root,
+ gss_lprocfs_vars, NULL);
if (IS_ERR(gss_proc_root)) {
rc = PTR_ERR(gss_proc_root);
gss_proc_root = NULL;
GOTO(out, rc);
}
- gss_proc_lk = lprocfs_seq_register("lgss_keyring", gss_proc_root,
- gss_lk_lprocfs_vars, NULL);
+ gss_proc_lk = lprocfs_register("lgss_keyring", gss_proc_root,
+ gss_lk_lprocfs_vars, NULL);
if (IS_ERR(gss_proc_lk)) {
rc = PTR_ERR(gss_proc_lk);
gss_proc_lk = NULL;