Commit 5f4c3dec authored by Yunlei He's avatar Yunlei He Committed by Jaegeuk Kim

f2fs: use set_page_private marcro in f2fs_trace_pid

Use set_page_private marcro instead of operte page struct
directly
Signed-off-by: default avatarYunlei He <heyunlei@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 9897159a
...@@ -59,7 +59,7 @@ void f2fs_trace_pid(struct page *page) ...@@ -59,7 +59,7 @@ void f2fs_trace_pid(struct page *page)
pid_t pid = task_pid_nr(current); pid_t pid = task_pid_nr(current);
void *p; void *p;
page->private = pid; set_page_private(page, (unsigned long)pid);
if (radix_tree_preload(GFP_NOFS)) if (radix_tree_preload(GFP_NOFS))
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment