Commit d35c6028 authored by Vitaly Fertman's avatar Vitaly Fertman Committed by Linus Torvalds

[PATCH] someone broke reiserfs V3 mount options, this fixes it

Signed-off-by: default avatarHans Reiser <reiser@namesys.com>
Signed-off-by: default avatarVitaly Fertman <vitaly@namesys.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3636641b
......@@ -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);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment