[PATCH] someone broke reiserfs V3 mount options, this fixes it
authorVitaly Fertman <vitaly@namesys.com>
Fri, 3 Feb 2006 11:04:01 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:03 +0000 (08:32 -0800)
Signed-off-by: Hans Reiser <reiser@namesys.com>
Signed-off-by: Vitaly Fertman <vitaly@namesys.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/reiserfs/super.c

index 77891de0e02e7b0f470545b98fc1bb00e075e508..ef5e5414e7a83eb9b4295bbaba5464410b11e030 100644 (file)
@@ -1125,7 +1125,7 @@ static void handle_attrs(struct super_block *s)
                        REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS);
                }
        } else if (le32_to_cpu(rs->s_flags) & reiserfs_attrs_cleared) {
-               REISERFS_SB(s)->s_mount_opt |= REISERFS_ATTRS;
+               REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_ATTRS);
        }
 }