public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.18] ext3: errors behaviour fix
@ 2006-10-04  7:50 Vasily Averin
  0 siblings, 0 replies; only message in thread
From: Vasily Averin @ 2006-10-04  7:50 UTC (permalink / raw)
  To: Theodore Tso, Stephen Tweedie, Andrew Morton, adilger,
	Linux Kernel Mailing List, linux-ext4, devel, cmm
  Cc: Kirill Korotaev, Dmitry Mishin, Eric Sandeen

From: Dmitry Mishin <dim@openvz.org>

EXT3_ERRORS_CONTINUE should be taken from the superblock as default value for
error behaviour.

Signed-off-by:	Dmitry Mishin <dim@openvz.org>
Acked-by:	Vasily Averin <vvs@sw.ru>
Acked-by: 	Kirill Korotaev <dev@openvz.org>

--- linux-2.6.18/fs/ext3/super.c.e3erop	2006-09-20 07:42:06.000000000 +0400
+++ linux-2.6.18/fs/ext3/super.c	2006-10-03 15:51:44.000000000 +0400
@@ -1466,6 +1466,8 @@ static int ext3_fill_super (struct super
 		set_opt(sbi->s_mount_opt, ERRORS_PANIC);
 	else if (le16_to_cpu(sbi->s_es->s_errors) == EXT3_ERRORS_RO)
 		set_opt(sbi->s_mount_opt, ERRORS_RO);
+	else
+		set_opt(sbi->s_mount_opt, ERRORS_CONT);

 	sbi->s_resuid = le16_to_cpu(es->s_def_resuid);
 	sbi->s_resgid = le16_to_cpu(es->s_def_resgid);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-04  7:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04  7:50 [PATCH 2.6.18] ext3: errors behaviour fix Vasily Averin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox