diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-01-29 19:21:15 -0500 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-22 19:07:23 -0500 |
commit | d48dfc2073e31f76262204a4c8dc1c7da3834b7c (patch) | |
tree | 99b1b59477fc8e646d1ea0d0211f4c8760d3c647 | |
parent | 17c19120eb7fa94d95013243a8cced8cc9e107e1 (diff) |
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: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r-- | fs/f2fs/segment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.h b/fs/f2fs/segment.h index ee44d346ea44..cd7111b9a664 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h | |||
@@ -183,7 +183,7 @@ struct segment_allocation { | |||
183 | * this value is set in page as a private data which indicate that | 183 | * this value is set in page as a private data which indicate that |
184 | * the page is atomically written, and it is in inmem_pages list. | 184 | * the page is atomically written, and it is in inmem_pages list. |
185 | */ | 185 | */ |
186 | #define ATOMIC_WRITTEN_PAGE 0x0000ffff | 186 | #define ATOMIC_WRITTEN_PAGE ((unsigned long)-1) |
187 | 187 | ||
188 | #define IS_ATOMIC_WRITTEN_PAGE(page) \ | 188 | #define IS_ATOMIC_WRITTEN_PAGE(page) \ |
189 | (page_private(page) == (unsigned long)ATOMIC_WRITTEN_PAGE) | 189 | (page_private(page) == (unsigned long)ATOMIC_WRITTEN_PAGE) |