public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - gfs2_tool: Remove ref to non-existent sysfs file
@ 2009-05-27 10:20 Steven Whitehouse
0 siblings, 0 replies; only message in thread
From: Steven Whitehouse @ 2009-05-27 10:20 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e8fa52a646ff06f1dfed806d73086162e6a999ca
Commit: e8fa52a646ff06f1dfed806d73086162e6a999ca
Parent: c87183b283fe2d0d2599722855321d6032fe88ae
Author: Steven Whitehouse <swhiteho@redhat.com>
AuthorDate: Fri May 22 16:35:52 2009 +0100
Committer: Steven Whitehouse <swhiteho@redhat.com>
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 <swhiteho@redhat.com>
---
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));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-27 10:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-27 10:20 cluster: STABLE3 - gfs2_tool: Remove ref to non-existent sysfs file Steven Whitehouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).