From: Edward Shishkin <edward.shishkin@gmail.com>
To: ReiserFS Development mailing list <reiserfs-devel@vger.kernel.org>
Subject: [patch 3/6] reiser4progs: mkfs: Don't ask for confirmation to work under linux-3.X
Date: Fri, 03 May 2013 22:39:23 +0200 [thread overview]
Message-ID: <5184207B.6060005@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: reiser4progs-mkfs-support-linux-3.x.patch --]
[-- Type: text/x-patch, Size: 853 bytes --]
Support Linux 3.x by mkfs.reiser4
Signed-off-by: Edward Shishkin <edward.shishkin@gmail.com>
---
progs/mkfs/mkfs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- reiser4progs-1.0.7.orig/progs/mkfs/mkfs.c
+++ reiser4progs-1.0.7/progs/mkfs/mkfs.c
@@ -300,15 +300,15 @@ int main(int argc, char *argv[]) {
if (!(flags & BF_FORCE)) {
if (aal_strncmp(sysinfo.release, "2.5", 3) &&
- aal_strncmp(sysinfo.release, "2.6", 3))
- {
+ aal_strncmp(sysinfo.release, "2.6", 3) &&
+ (aal_strncmp(sysinfo.release, "3.", 2) ||
+ (sysinfo.release[2] < '0' && (sysinfo.release[2] > '9')))){
aal_warn("%s %s is detected. Reiser4 does not "
"support such a platform. Use -f to "
"force over.", sysinfo.sysname,
sysinfo.release);
goto error_free_libreiser4;
}
-
}
if (!(flags & BF_YES)) {
reply other threads:[~2013-05-03 20:39 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=5184207B.6060005@gmail.com \
--to=edward.shishkin@gmail.com \
--cc=reiserfs-devel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).