提交 d35c6028 编写于 作者: V Vitaly Fertman 提交者: Linus Torvalds

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

Signed-off-by: NHans Reiser <reiser@namesys.com>
Signed-off-by: NVitaly Fertman <vitaly@namesys.com>
Cc: <stable@kernel.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册