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-6078 utils: fix copytool file bounds checking
[fs/lustre-release.git]
/
lustre
/
quota
/
qsd_lib.c
diff --git
a/lustre/quota/qsd_lib.c
b/lustre/quota/qsd_lib.c
index
8be6f6a
..
bcbe18a
100644
(file)
--- a/
lustre/quota/qsd_lib.c
+++ b/
lustre/quota/qsd_lib.c
@@
-21,7
+21,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright (c) 2012, 201
3
, Intel Corporation.
+ * Copyright (c) 2012, 201
4
, Intel Corporation.
* Use is subject to license terms.
*
* Author: Johann Lombardi <johann.lombardi@intel.com>
* Use is subject to license terms.
*
* Author: Johann Lombardi <johann.lombardi@intel.com>
@@
-207,7
+207,7
@@
qsd_timeout_seq_write(struct file *file, const char *buffer,
}
LPROC_SEQ_FOPS(qsd_timeout);
}
LPROC_SEQ_FOPS(qsd_timeout);
-static struct lprocfs_
seq_
vars lprocfs_quota_qsd_vars[] = {
+static struct lprocfs_vars lprocfs_quota_qsd_vars[] = {
{ .name = "info",
.fops = &qsd_state_fops },
{ .name = "enabled",
{ .name = "info",
.fops = &qsd_state_fops },
{ .name = "enabled",
@@
-617,8
+617,8
@@
struct qsd_instance *qsd_init(const struct lu_env *env, char *svname,
mutex_unlock(&qsd->qsd_fsinfo->qfs_mutex);
/* register procfs directory */
mutex_unlock(&qsd->qsd_fsinfo->qfs_mutex);
/* register procfs directory */
- qsd->qsd_proc = lprocfs_
seq_
register(QSD_DIR, osd_proc,
-
lprocfs_quota_qsd_vars, qsd);
+ qsd->qsd_proc = lprocfs_register(QSD_DIR, osd_proc,
+ lprocfs_quota_qsd_vars, qsd);
if (IS_ERR(qsd->qsd_proc)) {
rc = PTR_ERR(qsd->qsd_proc);
qsd->qsd_proc = NULL;
if (IS_ERR(qsd->qsd_proc)) {
rc = PTR_ERR(qsd->qsd_proc);
qsd->qsd_proc = NULL;