Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75c3c8bc authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

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: default avatarChao Yu <chao2.yu@samsung.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 1661d07c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
}