]> Git Repo - linux.git/commitdiff
ntfs: replace attach_page_buffers with attach_page_private
authorGuoqing Jiang <[email protected]>
Tue, 2 Jun 2020 04:47:57 +0000 (21:47 -0700)
committerLinus Torvalds <[email protected]>
Tue, 2 Jun 2020 17:59:07 +0000 (10:59 -0700)
Call the new function since attach_page_buffers will be removed.

Signed-off-by: Guoqing Jiang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Anton Altaparmakov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
fs/ntfs/aops.c
fs/ntfs/mft.c

index 554b744f41bf8a6f72d145fe0733180772d2a435..bb0a43860ad26dd351901c80f81fbc31f4f23634 100644 (file)
@@ -1732,7 +1732,7 @@ void mark_ntfs_record_dirty(struct page *page, const unsigned int ofs) {
                                bh = bh->b_this_page;
                        } while (bh);
                        tail->b_this_page = head;
-                       attach_page_buffers(page, head);
+                       attach_page_private(page, head);
                } else
                        buffers_to_free = bh;
        }
index 3aac5c917afe73b02f2ca5a6f63f347ffb69f629..fbb9f1bc623dc555c0f9ced52e11fd158209c09c 100644 (file)
@@ -504,7 +504,7 @@ int ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no,
                        bh = bh->b_this_page;
                } while (bh);
                tail->b_this_page = head;
-               attach_page_buffers(page, head);
+               attach_page_private(page, head);
        }
        bh = head = page_buffers(page);
        BUG_ON(!bh);
This page took 0.055675 seconds and 4 git commands to generate.