“b7e67f6c1bf70cd97014d20a2a3bec4b4f3317f8”上不存在“...media/git@gitcode.net:openharmony/kernel_linux.git”
提交 d48dfc20 编写于 作者: J Jaegeuk Kim

f2fs: fix conflict on page->private usage

This patch fixes confilct on page->private value between f2fs_trace_pid and
atomic page.
Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
上级 17c19120
...@@ -183,7 +183,7 @@ struct segment_allocation { ...@@ -183,7 +183,7 @@ struct segment_allocation {
* this value is set in page as a private data which indicate that * this value is set in page as a private data which indicate that
* the page is atomically written, and it is in inmem_pages list. * the page is atomically written, and it is in inmem_pages list.
*/ */
#define ATOMIC_WRITTEN_PAGE 0x0000ffff #define ATOMIC_WRITTEN_PAGE ((unsigned long)-1)
#define IS_ATOMIC_WRITTEN_PAGE(page) \ #define IS_ATOMIC_WRITTEN_PAGE(page) \
(page_private(page) == (unsigned long)ATOMIC_WRITTEN_PAGE) (page_private(page) == (unsigned long)ATOMIC_WRITTEN_PAGE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册