From: Vitaly Fertman Date: Fri, 3 Feb 2006 11:04:01 +0000 (-0800) Subject: [PATCH] someone broke reiserfs V3 mount options, this fixes it X-Git-Tag: v2.6.16-rc3~274 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d35c602870ece3166cff3d25fbc687a7f707acf3;p=~shefty%2Frdma-dev.git [PATCH] someone broke reiserfs V3 mount options, this fixes it Signed-off-by: Hans Reiser Signed-off-by: Vitaly Fertman Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 77891de0e02..ef5e5414e7a 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); } }