Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecache
[platform/kernel/linux-starfive.git] / fs / ntfs / file.c
index 46ed69b..58b660d 100644 (file)
@@ -219,11 +219,6 @@ do_non_resident_extend:
                        err = PTR_ERR(page);
                        goto init_err_out;
                }
-               if (unlikely(PageError(page))) {
-                       put_page(page);
-                       err = -EIO;
-                       goto init_err_out;
-               }
                /*
                 * Update the initialized size in the ntfs inode.  This is
                 * enough to make ntfs_writepage() work.