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
Revert "LU-5275 lprocfs: remove last of non seq data structs and functions."
[fs/lustre-release.git]
/
lustre
/
quota
/
qmt_pool.c
diff --git
a/lustre/quota/qmt_pool.c
b/lustre/quota/qmt_pool.c
index
2189342
..
30ad195
100644
(file)
--- a/
lustre/quota/qmt_pool.c
+++ b/
lustre/quota/qmt_pool.c
@@
-170,7
+170,7
@@
static int qpi_state_seq_show(struct seq_file *m, void *data)
}
LPROC_SEQ_FOPS_RO(qpi_state);
}
LPROC_SEQ_FOPS_RO(qpi_state);
-static struct lprocfs_vars lprocfs_quota_qpi_vars[] = {
+static struct lprocfs_
seq_
vars lprocfs_quota_qpi_vars[] = {
{ .name = "info",
.fops = &qpi_state_fops },
{ NULL }
{ .name = "info",
.fops = &qpi_state_fops },
{ NULL }
@@
-213,8
+213,8
@@
static int qmt_pool_alloc(const struct lu_env *env, struct qmt_device *qmt,
/* create pool proc directory */
sprintf(qti->qti_buf, "%s-0x%x", RES_NAME(pool_type), pool_id);
/* create pool proc directory */
sprintf(qti->qti_buf, "%s-0x%x", RES_NAME(pool_type), pool_id);
- pool->qpi_proc = lprocfs_register(qti->qti_buf, qmt->qmt_proc,
- lprocfs_quota_qpi_vars, pool);
+ pool->qpi_proc = lprocfs_
seq_
register(qti->qti_buf, qmt->qmt_proc,
+
lprocfs_quota_qpi_vars, pool);
if (IS_ERR(pool->qpi_proc)) {
rc = PTR_ERR(pool->qpi_proc);
CERROR("%s: failed to create proc entry for pool %s (%d)\n",
if (IS_ERR(pool->qpi_proc)) {
rc = PTR_ERR(pool->qpi_proc);
CERROR("%s: failed to create proc entry for pool %s (%d)\n",