mirror of https://gitee.com/openkylin/linux.git
f2fs: use f2fs_put_page to release page for uniform style
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>
This commit is contained in:
parent
1661d07c2d
commit
75c3c8bc88
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue