forked from luck/tmp_suning_uos_patched
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 <heyunlei@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
9897159a7b
commit
5f4c3dec22
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user