Commit d1753372 authored by Vitaly Fertman's avatar Vitaly Fertman Committed by Greg Kroah-Hartman

[PATCH] Someone broke reiserfs v3 mount options and this fixes it

Signed-off-by: default avatarHans Reiser <reiser@namesys.com>
Signed-off-by: default avatarVitaly Fertman <vitaly@namesys.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5fa8ad64
......@@ -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);
}
}
......
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