diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2013-07-04 02:00:48 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 03:07:23 +0400 |
commit | 13eb98874c837b4ca0cb2db6a4fe3551e51b7632 (patch) | |
tree | 269e356a59d6928b903448a8a020b9c8f21b4bf4 /fs/ocfs2/dlm/dlmrecovery.c | |
parent | 22ab9014bfdaf97449759aef946871aabe78bb40 (diff) | |
download | linux-13eb98874c837b4ca0cb2db6a4fe3551e51b7632.tar.xz |
ocfs2: should not use le32_add_cpu to set ocfs2_dinode i_flags
If we use le32_add_cpu to set ocfs2_dinode i_flags, it may lead to the
corresponding flag corrupted. So we should change it to bitwise and/or
operation.
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: shencanquan <shencanquan@huawei.com>
Reviewed-by: Jie Liu <jeff.liu@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dlm/dlmrecovery.c')
0 files changed, 0 insertions, 0 deletions