|
@@ -1383,13 +1383,13 @@ put_next:
|
|
f2fs_put_dnode(&dn);
|
|
f2fs_put_dnode(&dn);
|
|
f2fs_unlock_op(sbi);
|
|
f2fs_unlock_op(sbi);
|
|
|
|
|
|
|
|
+ f2fs_wait_on_page_writeback(page, DATA);
|
|
|
|
+
|
|
if (len == PAGE_CACHE_SIZE)
|
|
if (len == PAGE_CACHE_SIZE)
|
|
goto out_update;
|
|
goto out_update;
|
|
if (PageUptodate(page))
|
|
if (PageUptodate(page))
|
|
goto out_clear;
|
|
goto out_clear;
|
|
|
|
|
|
- f2fs_wait_on_page_writeback(page, DATA);
|
|
|
|
-
|
|
|
|
if ((pos & PAGE_CACHE_MASK) >= i_size_read(inode)) {
|
|
if ((pos & PAGE_CACHE_MASK) >= i_size_read(inode)) {
|
|
unsigned start = pos & (PAGE_CACHE_SIZE - 1);
|
|
unsigned start = pos & (PAGE_CACHE_SIZE - 1);
|
|
unsigned end = start + len;
|
|
unsigned end = start + len;
|