From: Yunlei He Date: Wed, 22 Mar 2017 03:59:30 +0000 (+0800) Subject: f2fs: use set_page_private marcro in f2fs_trace_pid X-Git-Tag: v4.14-rc1~967^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f4c3dec225e03273e1f74816e676cccc1a54329;p=platform%2Fkernel%2Flinux-rpi.git f2fs: use set_page_private marcro in f2fs_trace_pid Use set_page_private marcro instead of operte page struct directly Signed-off-by: Yunlei He Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/trace.c b/fs/f2fs/trace.c index c82ab40..bccbbf2 100644 --- a/fs/f2fs/trace.c +++ b/fs/f2fs/trace.c @@ -59,7 +59,7 @@ void f2fs_trace_pid(struct page *page) pid_t pid = task_pid_nr(current); void *p; - page->private = pid; + set_page_private(page, (unsigned long)pid); if (radix_tree_preload(GFP_NOFS)) return;