projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1661d07
)
f2fs: use f2fs_put_page to release page for uniform style
author
Chao Yu
<chao2.yu@samsung.com>
Sat, 16 Nov 2013 06:15:59 +0000
(14:15 +0800)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:00 +0000
(10:18 +0900)
We should use f2fs_put_page to release page for uniform style of f2fs code.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/data.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index aa3438c571fa9a2dfaf3e1ab61bd4328f580b0d6..076a60cb8dbbab7e3dcf5fbb8cc0e2ec61a5b0cc 100644
(file)
--- a/
fs/f2fs/data.c
+++ b/
fs/f2fs/data.c
@@
-714,8
+714,7
@@
static int f2fs_write_end(struct file *file,
update_inode_page(inode);
}
- unlock_page(page);
- page_cache_release(page);
+ f2fs_put_page(page, 1);
return copied;
}