diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index b0d7e13fae3df728b00839e5636c997ee4904938..71c4619af3330671bf4c41bbc9ce1cee4f9dd5d8 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -890,8 +890,8 @@ static int fuse_try_move_page(struct fuse_copy_state *cs, struct page **pagep) newpage = buf->page; - if (WARN_ON(!PageUptodate(newpage))) - return -EIO; + if (!PageUptodate(newpage)) + SetPageUptodate(newpage); ClearPageMappedToDisk(newpage);