From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22909 invoked by alias); 27 May 2009 10:20:21 -0000 Received: (qmail 22890 invoked by alias); 27 May 2009 10:20:20 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: STABLE3 - gfs2_tool: Remove ref to non-existent sysfs file To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/STABLE3 X-Git-Reftype: branch X-Git-Oldrev: c87183b283fe2d0d2599722855321d6032fe88ae X-Git-Newrev: e8fa52a646ff06f1dfed806d73086162e6a999ca From: Steven Whitehouse Message-Id: <20090527101949.E23BA120368@lists.fedorahosted.org> Date: Wed, 27 May 2009 10:20:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00417.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e8fa52a646ff06f1dfed806d73086162e6a999ca Commit: e8fa52a646ff06f1dfed806d73086162e6a999ca Parent: c87183b283fe2d0d2599722855321d6032fe88ae Author: Steven Whitehouse AuthorDate: Fri May 22 16:35:52 2009 +0100 Committer: Steven Whitehouse CommitterDate: Wed May 27 10:07:28 2009 +0100 gfs2_tool: Remove ref to non-existent sysfs file The flags file has not existed in the lockstruct subdir for a long time, so there doesn't seem much point trying to print out its value. Signed-off-by: Steven Whitehouse --- gfs2/tool/df.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/gfs2/tool/df.c b/gfs2/tool/df.c index 311ad46..07c7c59 100644 --- a/gfs2/tool/df.c +++ b/gfs2/tool/df.c @@ -175,12 +175,7 @@ do_df_one(char *path) printf( _(" Mounted host data = \"%s\"\n"), get_sysfs(fs, "args/hostdata")); - printf( _(" Journal number = %s\n"), get_sysfs(fs, "lockstruct/jid")); - - if (get_sysfs_uint(fs, "lockstruct/flags", &flags)) - printf( _(" Lock module flags = (Not found: %s)\n"), strerror(errno)); - else - printf( _(" Lock module flags = %x\n"), flags); + printf( _(" Journal number = %s\n"), get_sysfs(fs, "lock_module/jid")); if (get_sysfs_uint(fs, "args/localflocks", &flags)) printf( _(" Lock flocks = (Not found: %s)\n"), strerror(errno));