public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* gfs2-utils: master - gfs2_tool df segfault on non-4K block size
@ 2009-02-17 18:52 Bob Peterson
0 siblings, 0 replies; only message in thread
From: Bob Peterson @ 2009-02-17 18:52 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=956d3d5651dc2185e1f8ce328973011e9c46430a
Commit: 956d3d5651dc2185e1f8ce328973011e9c46430a
Parent: d6cfe262e1590eb5ac7f16ad7d1e189dd01855bd
Author: Bob Peterson <rpeterso@redhat.com>
AuthorDate: Tue Feb 17 12:50:13 2009 -0600
Committer: Bob Peterson <rpeterso@redhat.com>
CommitterDate: Tue Feb 17 12:50:13 2009 -0600
gfs2_tool df segfault on non-4K block size
bz 485761
---
gfs2/tool/df.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gfs2/tool/df.c b/gfs2/tool/df.c
index a2ab0e9..207fac7 100644
--- a/gfs2/tool/df.c
+++ b/gfs2/tool/df.c
@@ -121,8 +121,9 @@ do_df_one(char *path)
exit(-1);
}
- compute_constants(&sbd);
gfs2_sb_in(&sbd.sd_sb, buf); /* parse it out into the sb structure */
+ sbd.bsize = sbd.sd_sb.sb_bsize;
+ compute_constants(&sbd);
sbd.master_dir = gfs2_load_inode(&sbd,
sbd.sd_sb.sb_master_dir.no_addr);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-17 18:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-17 18:52 gfs2-utils: master - gfs2_tool df segfault on non-4K block size Bob Peterson
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).