* [Cluster-devel] Re: gfs2-utils: master - GFS2: fsck.gfs2 sometimes needs to be run twice
[not found] <20090810163328.4E0011201F3@lists.fedorahosted.org>
@ 2009-08-11 6:16 ` Andrew Price
0 siblings, 0 replies; only message in thread
From: Andrew Price @ 2009-08-11 6:16 UTC (permalink / raw)
To: cluster-devel.redhat.com
Hi Bob,
On Mon, Aug 10, 2009 at 04:33:28PM +0000, Bob Peterson wrote:
> --- a/gfs2/fsck/main.c
> +++ b/gfs2/fsck/main.c
> @@ -191,9 +191,9 @@ static int check_system_inode(struct gfs2_inode *sysinode, const char *filename,
> if(!sysinode || ds.q.block_type != mark) {
Doesn't this ^^^ ...
> log_err( _("Invalid or missing %s system inode.\n"), filename);
> errors_found++;
> - if ((errors_corrected +=
> - query(&opts, _("Create new %s system inode? (y/n) "),
> - filename))) {
> + if (query(&opts, _("Create new %s system inode? (y/n) "),
> + filename)) {
> + errors_corrected++;
> builder(sysinode->i_sbd);
... mean that this ^^^ could be a null pointer dereference bug?
I know it's not part of the patch but it just caught my eye :-)
--
Andrew Price
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-11 6:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090810163328.4E0011201F3@lists.fedorahosted.org>
2009-08-11 6:16 ` [Cluster-devel] Re: gfs2-utils: master - GFS2: fsck.gfs2 sometimes needs to be run twice Andrew Price
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 NNTP newsgroup(s).