From 706d37309a30e188a6d32993c1cb97adb2b2c6d9 Mon Sep 17 00:00:00 2001 From: Bob Peterson Date: Tue, 5 Feb 2008 17:11:40 -0600 Subject: [PATCH] --- yaml --- r: 89508 b: refs/heads/master c: 9feb7c889f2a3b088a7f6583e609bd39997c0f47 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/incore.h | 3 --- trunk/fs/gfs2/sys.c | 6 ------ 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/[refs] b/[refs] index eb440ba103ad..eab2ed289e78 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9a0045088d888c9c539c8c626a366cb52c0fbdab +refs/heads/master: 9feb7c889f2a3b088a7f6583e609bd39997c0f47 diff --git a/trunk/fs/gfs2/incore.h b/trunk/fs/gfs2/incore.h index 9dfdde3612a4..b67e44baa73c 100644 --- a/trunk/fs/gfs2/incore.h +++ b/trunk/fs/gfs2/incore.h @@ -636,9 +636,6 @@ struct gfs2_sbd { /* Counters */ - atomic_t sd_glock_count; - atomic_t sd_glock_held_count; - atomic_t sd_inode_count; atomic_t sd_reclaimed; char sd_fsname[GFS2_FSNAME_LEN]; diff --git a/trunk/fs/gfs2/sys.c b/trunk/fs/gfs2/sys.c index cc35ec862ee8..9ab9fc85ecd0 100644 --- a/trunk/fs/gfs2/sys.c +++ b/trunk/fs/gfs2/sys.c @@ -327,15 +327,9 @@ static ssize_t name##_show(struct gfs2_sbd *sdp, char *buf) \ } \ static struct counters_attr counters_attr_##name = __ATTR_RO(name) -COUNTERS_ATTR(glock_count, "%u\n"); -COUNTERS_ATTR(glock_held_count, "%u\n"); -COUNTERS_ATTR(inode_count, "%u\n"); COUNTERS_ATTR(reclaimed, "%u\n"); static struct attribute *counters_attrs[] = { - &counters_attr_glock_count.attr, - &counters_attr_glock_held_count.attr, - &counters_attr_inode_count.attr, &counters_attr_reclaimed.attr, NULL, };