From: Vitaly Fertman Date: Fri, 20 Jan 2006 07:06:01 +0000 (-0800) Subject: [PATCH] Someone broke reiserfs v3 mount options and this fixes it X-Git-Tag: v2.6.15.2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1753372c3c16c9cfb88bed7f0278091187053f3;p=thirdparty%2Fkernel%2Fstable.git [PATCH] Someone broke reiserfs v3 mount options and this fixes it Signed-off-by: Hans Reiser Signed-off-by: Vitaly Fertman Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 42afb5bef1116..9c38f10d59c69 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c @@ -1131,7 +1131,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); } }