projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9897159
)
f2fs: use set_page_private marcro in f2fs_trace_pid
author
Yunlei He
<heyunlei@huawei.com>
Wed, 22 Mar 2017 03:59:30 +0000
(11:59 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Fri, 24 Mar 2017 19:10:49 +0000
(15:10 -0400)
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>
fs/f2fs/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/trace.c
b/fs/f2fs/trace.c
index c82ab4048127b8cfbb8b2d35a996b9e154f3dcaf..bccbbf2616d2b2cd3e5c3380b809f545dc1802a9 100644
(file)
--- 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;