aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/sys.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2008-02-05 18:11:40 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 05:40:34 -0400
commit9feb7c889f2a3b088a7f6583e609bd39997c0f47 (patch)
treecd54d87a2b123a85d6da71312017c2b0a5a33541 /fs/gfs2/sys.c
parent9a0045088d888c9c539c8c626a366cb52c0fbdab (diff)
[GFS2] Remove unused counters
This is kind of trivial in the greater scheme of things, but this removes three counters that AFAICT are never used. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/sys.c')
-rw-r--r--fs/gfs2/sys.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index cc35ec862ee8..9ab9fc85ecd0 100644
--- a/fs/gfs2/sys.c
+++ b/fs/gfs2/sys.c
@@ -327,15 +327,9 @@ static ssize_t name##_show(struct gfs2_sbd *sdp, char *buf) \
327} \ 327} \
328static struct counters_attr counters_attr_##name = __ATTR_RO(name) 328static struct counters_attr counters_attr_##name = __ATTR_RO(name)
329 329
330COUNTERS_ATTR(glock_count, "%u\n");
331COUNTERS_ATTR(glock_held_count, "%u\n");
332COUNTERS_ATTR(inode_count, "%u\n");
333COUNTERS_ATTR(reclaimed, "%u\n"); 330COUNTERS_ATTR(reclaimed, "%u\n");
334 331
335static struct attribute *counters_attrs[] = { 332static struct attribute *counters_attrs[] = {
336 &counters_attr_glock_count.attr,
337 &counters_attr_glock_held_count.attr,
338 &counters_attr_inode_count.attr,
339 &counters_attr_reclaimed.attr, 333 &counters_attr_reclaimed.attr,
340 NULL, 334 NULL,
341}; 335};