From 7db9658333887c892427c908000d58dc7a4ed833 Mon Sep 17 00:00:00 2001
From: Andrew Morton <akpm@osdl.org>
Date: Thu, 28 Oct 2004 23:23:48 -0700
Subject: [PATCH] [PATCH] ext3 reservation: default to on

Enable the reservation code by default.  So reservations default to "on".
They can be disabled by mounting with the "noreservation" mount option.


Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---
 fs/ext3/super.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 9f587c619211..83bf0576a2ce 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -1300,6 +1300,8 @@ static int ext3_fill_super (struct super_block *sb, void *data, int silent)
 	sbi->s_resuid = le16_to_cpu(es->s_def_resuid);
 	sbi->s_resgid = le16_to_cpu(es->s_def_resgid);
 
+	set_opt(sbi->s_mount_opt, RESERVATION);
+
 	if (!parse_options ((char *) data, sb, &journal_inum, 0))
 		goto failed_mount;
 
-- 
2.30.9