projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
f2fs: add sbi and page pointer in f2fs_io_info
[deliverable/linux.git]
/
fs
/
f2fs
/
inline.c
diff --git
a/fs/f2fs/inline.c
b/fs/f2fs/inline.c
index 99d514815af7535674e74918e222c13bc6b9fcac..d9b3033bf6fd666c9c4d95146c9f72e9c2a8ca04 100644
(file)
--- a/
fs/f2fs/inline.c
+++ b/
fs/f2fs/inline.c
@@
-106,8
+106,10
@@
int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page)
{
void *src_addr, *dst_addr;
struct f2fs_io_info fio = {
{
void *src_addr, *dst_addr;
struct f2fs_io_info fio = {
+ .sbi = F2FS_I_SB(dn->inode),
.type = DATA,
.rw = WRITE_SYNC | REQ_PRIO,
.type = DATA,
.rw = WRITE_SYNC | REQ_PRIO,
+ .page = page,
};
int dirty, err;
};
int dirty, err;
@@
-141,7
+143,7
@@
no_update:
/* write data page to try to make data consistent */
set_page_writeback(page);
fio.blk_addr = dn->data_blkaddr;
/* write data page to try to make data consistent */
set_page_writeback(page);
fio.blk_addr = dn->data_blkaddr;
- write_data_page(
page,
dn, &fio);
+ write_data_page(dn, &fio);
set_data_blkaddr(dn);
f2fs_update_extent_cache(dn);
f2fs_wait_on_page_writeback(page, DATA);
set_data_blkaddr(dn);
f2fs_update_extent_cache(dn);
f2fs_wait_on_page_writeback(page, DATA);
This page took
0.023865 seconds
and
5
git commands to generate.