From: "Barry Naujok" <bnaujok@melbourne.sgi.com>
To: xfs-dev@corp.sgi.com
Cc: xfs@oss.sgi.com
Subject: [PATCH] Return failure error if something fails in xfs_growfs
Date: Thu, 21 Dec 2006 17:15:05 +1100 [thread overview]
Message-ID: <200612210609.RAA24334@larry.melbourne.sgi.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
A very simple patch that return error rather than success if something
fails in xfs_growfs.
Barry.
[-- Attachment #2: growfs_error.diff --]
[-- Type: application/octet-stream, Size: 336 bytes --]
--- a/xfsprogs/growfs/xfs_growfs.c 2006-12-21 17:07:16.000000000 +1100
+++ b/xfsprogs/growfs/xfs_growfs.c 2006-12-21 17:06:16.639597863 +1100
@@ -448,5 +448,5 @@
if (geo.rtextsize != ngeo.rtextsize)
printf(_("realtime extent size changed from %d to %d\n"),
geo.rtextsize, ngeo.rtextsize);
- exit(0);
+ exit(error);
}
next reply other threads:[~2006-12-21 6:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 6:15 Barry Naujok [this message]
2006-12-21 6:21 ` [PATCH] Return failure error if something fails in xfs_growfs Nathan Scott
2006-12-21 16:37 ` Eric Sandeen
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=200612210609.RAA24334@larry.melbourne.sgi.com \
--to=bnaujok@melbourne.sgi.com \
--cc=xfs-dev@corp.sgi.com \
--cc=xfs@oss.sgi.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: link
Be 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