done_index = folio_next_index(folio);
                        /*
                         * At this point we hold neither the i_pages lock nor
-                        * the page lock: the page may be truncated or
-                        * invalidated (changing page->mapping to NULL),
-                        * or even swizzled back from swapper_space to
-                        * tmpfs file mapping
+                        * the folio lock: the folio may be truncated or
+                        * invalidated (changing folio->mapping to NULL).
                         */
                        if (!folio_trylock(folio)) {
                                submit_write_bio(bio_ctrl, 0);
        }
        /*
         * Now all pages of that extent buffer is unmapped, set UNMAPPED flag,
-        * so it can be cleaned up without utilizing page->mapping.
+        * so it can be cleaned up without utilizing folio->mapping.
         */
        set_bit(EXTENT_BUFFER_UNMAPPED, &eb->bflags);
 
 
         * We are already holding a reference to this inode from
         * write_cache_pages.  We need to hold it because the space reservation
         * takes place outside of the folio lock, and we can't trust
-        * page->mapping outside of the folio lock.
+        * folio->mapping outside of the folio lock.
         */
        ihold(inode);
        btrfs_folio_set_checked(fs_info, folio, folio_pos(folio), folio_size(folio));
 
 
        /*
         * Only data pages (either through DIO or compression) can have no
-        * mapping. And if page->mapping->host is data inode, it's subpage.
+        * mapping. And if mapping->host is data inode, it's subpage.
         * As we have ruled our sectorsize >= PAGE_SIZE case already.
         */
        if (!mapping || !mapping->host || is_data_inode(BTRFS_I(mapping->host)))