public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Steven Whitehouse <swhiteho@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: gfs2-utils: master - gfs2_tool: Remove ref to non-existent sysfs file Date: Fri, 22 May 2009 16:44:00 -0000 [thread overview] Message-ID: <20090522164351.8C7E61201ED@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=57211f6b84337d0c7926409de1432d99b1a25053 Commit: 57211f6b84337d0c7926409de1432d99b1a25053 Parent: 221712cf178897d65faeaf45a8e2de9a446083d3 Author: Steven Whitehouse <swhiteho@redhat.com> AuthorDate: Fri May 22 16:35:52 2009 +0100 Committer: Steven Whitehouse <swhiteho@redhat.com> CommitterDate: Fri May 22 16:35:52 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 14e3662..0ad4d04 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));
reply other threads:[~2009-05-22 16:44 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090522164351.8C7E61201ED@lists.fedorahosted.org \ --to=swhiteho@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).