summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorVitaly Fertman <vitaly@namesys.com>2006-02-03 12:04:01 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 17:32:03 +0100
commitd35c602870ece3166cff3d25fbc687a7f707acf3 (patch)
tree345bb168a75e37848921428c29b01d65a75479d1 /fs/reiserfs
parent[PATCH] don't allow users to set CONFIG_BROKEN=y (diff)
downloadlinux-d35c602870ece3166cff3d25fbc687a7f707acf3.tar.xz
linux-d35c602870ece3166cff3d25fbc687a7f707acf3.zip
[PATCH] someone broke reiserfs V3 mount options, this fixes it
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>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r--fs/reiserfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 77891de0e02e..ef5e5414e7a8 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -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);
}
}