/[linux-patches]/genpatches-2.6/trunk/2.6.14/1438_15.5_reiserfs-disable-autoenable-inode-attrs.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1438_15.5_reiserfs-disable-autoenable-inode-attrs.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations) (download) (as text)
Tue Mar 14 13:34:17 2006 UTC (14 years, 7 months ago) by johnm
File MIME type: text/x-diff
File size: 1403 byte(s)
2.6.14-11, rebase against local tree
1 From: Jeff Mahoney <jeffm@suse.com>
2 Date: Mon, 13 Feb 2006 06:34:55 +0000 (-0800)
3 Subject: [PATCH] reiserfs: disable automatic enabling of reiserfs inode attributes
4 X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/chrisw/linux-2.6.15.y.git;a=commitdiff;h=245fdb596bc70bb93d5941d688916e29d6824955
5
6 [PATCH] reiserfs: disable automatic enabling of reiserfs inode attributes
7
8 Unfortunately, the reiserfs_attrs_cleared bit in the superblock flag can
9 lie. File systems have been observed with the bit set, yet still contain
10 garbage in the stat data field, causing unpredictable results.
11
12 This patch backs out the enable-by-default behavior.
13
14 It eliminates the changes from: d50a5cd860ce721dbeac6a4f3c6e42abcde68cd8,
15 and ef5e5414e7a83eb9b4295bbaba5464410b11e030.
16
17 Signed-off-by: Jeff Mahoney <jeffm@suse.com>
18 Signed-off-by: Andrew Morton <akpm@osdl.org>
19 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
21 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
22 ---
23
24 --- a/fs/reiserfs/super.c
25 +++ b/fs/reiserfs/super.c
26 @@ -1130,8 +1130,6 @@ static void handle_attrs(struct super_bl
27 "reiserfs: cannot support attributes until flag is set in super-block");
28 REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS);
29 }
30 - } else if (le32_to_cpu(rs->s_flags) & reiserfs_attrs_cleared) {
31 - REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_ATTRS);
32 }
33 }
34

  ViewVC Help
Powered by ViewVC 1.1.20