diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-01-29 16:21:15 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:32:58 +0200 |
| commit | c56b86558a076bf4907d6bd38da2817206ec21d8 (patch) | |
| tree | b10bc5979cf9e92d838f13ba651e6b086303650d /fs | |
| parent | 1f6e47829a747bf8e0bb3e6dd147eb0eb2d8fc51 (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>
Diffstat (limited to 'fs')
| -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 3bbeca13f..0ba281baa 100644 --- a/fs/f2fs/segment.h +++ b/fs/f2fs/segment.h @@ -182,7 +182,7 @@ struct segment_allocation { * 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. */ -#define ATOMIC_WRITTEN_PAGE 0x0000ffff +#define ATOMIC_WRITTEN_PAGE ((unsigned long)-1) #define IS_ATOMIC_WRITTEN_PAGE(page) \ (page_private(page) == (unsigned long)ATOMIC_WRITTEN_PAGE) |
