aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/incore.h3
-rw-r--r--fs/gfs2/sys.c6
2 files changed, 0 insertions, 9 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 9dfdde3612a4..b67e44baa73c 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -636,9 +636,6 @@ struct gfs2_sbd {
636 636
637 /* Counters */ 637 /* Counters */
638 638
639 atomic_t sd_glock_count;
640 atomic_t sd_glock_held_count;
641 atomic_t sd_inode_count;
642 atomic_t sd_reclaimed; 639 atomic_t sd_reclaimed;
643 640
644 char sd_fsname[GFS2_FSNAME_LEN]; 641 char sd_fsname[GFS2_FSNAME_LEN];
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};