/[linux-patches]/genpatches-2.6/tags/2.6.15-5/1026_2_reiserfs-mount-options.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.15-5/1026_2_reiserfs-mount-options.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 291 - (show annotations) (download)
Tue Jan 31 20:13:37 2006 UTC (12 years, 9 months ago) by dsd
File size: 1066 byte(s)
2.6.15-5 release
1 From stable-bounces@linux.kernel.org Thu Jan 19 23:06:22 2006
2 Message-Id: <200601200706.k0K76Fho019101@shell0.pdx.osdl.net>
3 To: vitaly@namesys.com, reiser@namesys.com, stable@kernel.org,
4 mm-commits@vger.kernel.org
5 From: akpm@osdl.org
6 Date: Thu, 19 Jan 2006 23:06:01 -0800
7 Cc:
8 Subject: Someone broke reiserfs v3 mount options and this fixes it
9
10 From: Vitaly Fertman <vitaly@namesys.com>
11
12 Signed-off-by: Hans Reiser <reiser@namesys.com>
13 Signed-off-by: Vitaly Fertman <vitaly@namesys.com>
14 Signed-off-by: Andrew Morton <akpm@osdl.org>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16 ---
17 fs/reiserfs/super.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 --- linux-2.6.15.1.orig/fs/reiserfs/super.c
21 +++ linux-2.6.15.1/fs/reiserfs/super.c
22 @@ -1131,7 +1131,7 @@ static void handle_attrs(struct super_bl
23 REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS);
24 }
25 } else if (le32_to_cpu(rs->s_flags) & reiserfs_attrs_cleared) {
26 - REISERFS_SB(s)->s_mount_opt |= REISERFS_ATTRS;
27 + REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_ATTRS);
28 }
29 }
30

  ViewVC Help
Powered by ViewVC 1.1.20