diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-04-20 03:49:58 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:10 +0200 |
commit | 617fb10ea838f48c88c7f010eb68d150350914c8 (patch) | |
tree | 477d665b0b4e4a835acfd7fa53627adf91c3484a /sound/usb | |
parent | f93ee0df51397a9432250798a93d2271ab86bb69 (diff) |
btrfs: use the folio iterator in btrfs_end_super_write()
Iterate over folios instead of bvecs. Switch the order of unlock and put
to be the usual order; we know this folio can't be put until it's been
waited for, but that's fragile. Remove the calls to ClearPageUptodate /
SetPageUptodate -- if PAGE_SIZE is larger than BTRFS_SUPER_INFO_SIZE,
we'd be marking the entire folio uptodate without having actually
initialised all the bytes in the page.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions