OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2.6.18] ext3: errors behaviour fix
[PATCH 2.6.18] ext3: errors behaviour fix [message #7104] Wed, 04 October 2006 07:50
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
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);
Previous Topic: namespace and nsproxy syscalls
Next Topic: [PATCH 2.6.18] ext2: errors behaviour fix
Goto Forum:
  


Current Time: Tue Sep 17 22:28:22 GMT 2024

Total time taken to generate the page: 0.05690 seconds