summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorVitaly Fertman <vitaly@namesys.com>2006-02-03 03:04:01 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 08:32:03 -0800
commitd35c602870ece3166cff3d25fbc687a7f707acf3 (patch)
tree345bb168a75e37848921428c29b01d65a75479d1 /fs
parent3636641bb2c7a806c1099ca092ec8cd180063f9b (diff)
downloadlinux-d35c602870ece3166cff3d25fbc687a7f707acf3.tar.bz2
[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')
-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);
}
}