mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
ntfs: Correct mark_ntfs_record_dirty() folio conversion
We've already done the work of block_dirty_folio() here, leaving
only the work that needs to be done by filemap_dirty_folio().
This was a misconversion where I misread __set_page_dirty_nobuffers()
as __set_page_dirty_buffers().
Fixes: e621900ad2
("fs: Convert __set_page_dirty_buffers to block_dirty_folio")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
29c87793eb
commit
c37731301d
@ -1746,7 +1746,7 @@ void mark_ntfs_record_dirty(struct page *page, const unsigned int ofs) {
|
||||
set_buffer_dirty(bh);
|
||||
} while ((bh = bh->b_this_page) != head);
|
||||
spin_unlock(&mapping->private_lock);
|
||||
block_dirty_folio(mapping, page_folio(page));
|
||||
filemap_dirty_folio(mapping, page_folio(page));
|
||||
if (unlikely(buffers_to_free)) {
|
||||
do {
|
||||
bh = buffers_to_free->b_this_page;
|
||||
|
Loading…
Reference in New Issue
Block a user