/[linux-patches]/genpatches-2.6/trunk/2.6.14/1410_15.2_reiserfs-mount-options.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1410_15.2_reiserfs-mount-options.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (hide annotations) (download) (as text)
Tue Mar 14 13:34:17 2006 UTC (14 years, 8 months ago) by johnm
File MIME type: text/x-diff
File size: 1066 byte(s)
2.6.14-11, rebase against local tree
1 johnm 328 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