diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-08-16 18:38:14 +0300 |
---|---|---|
committer | Martin Brandenburg <martin@omnibond.com> | 2016-08-16 18:41:24 +0300 |
commit | 1d503617884ed43af1c03685e73ce23f155d3fa4 (patch) | |
tree | e576cd8866c2cec6c5e29a75098d27f27e78e90a /fs/orangefs/orangefs-sysfs.c | |
parent | 889d5f1baca698a4510174cdd6a6596997d0deb4 (diff) | |
download | linux-1d503617884ed43af1c03685e73ce23f155d3fa4.tar.xz |
orangefs: rename most remaining global variables
Only op_timeout_secs, slot_timeout_secs, and hash_table_size are left
because they are exposed as module parameters. All other global
variables have the orangefs_ prefix.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-sysfs.c')
-rw-r--r-- | fs/orangefs/orangefs-sysfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/orangefs/orangefs-sysfs.c b/fs/orangefs/orangefs-sysfs.c index 755c37c998cf..e88370540cb4 100644 --- a/fs/orangefs/orangefs-sysfs.c +++ b/fs/orangefs/orangefs-sysfs.c @@ -218,14 +218,14 @@ static ssize_t sysfs_int_show(struct kobject *kobj, rc = scnprintf(buf, PAGE_SIZE, "%d\n", - dcache_timeout_msecs); + orangefs_dcache_timeout_msecs); goto out; } else if (!strcmp(attr->attr.name, "getattr_timeout_msecs")) { rc = scnprintf(buf, PAGE_SIZE, "%d\n", - getattr_timeout_msecs); + orangefs_getattr_timeout_msecs); goto out; } else { goto out; @@ -270,10 +270,10 @@ static ssize_t sysfs_int_store(struct kobject *kobj, rc = kstrtoint(buf, 0, &slot_timeout_secs); goto out; } else if (!strcmp(attr->attr.name, "dcache_timeout_msecs")) { - rc = kstrtoint(buf, 0, &dcache_timeout_msecs); + rc = kstrtoint(buf, 0, &orangefs_dcache_timeout_msecs); goto out; } else if (!strcmp(attr->attr.name, "getattr_timeout_msecs")) { - rc = kstrtoint(buf, 0, &getattr_timeout_msecs); + rc = kstrtoint(buf, 0, &orangefs_getattr_timeout_msecs); goto out; } else { goto out; |