diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2022-02-09 20:22:11 +0000 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2022-03-16 17:36:47 +0000 |
| commit | af7afdc7bbbe60cb6ce51a86b022d647e1a72717 (patch) | |
| tree | ece882246f97da4c96ddd1ddb8e0a62740c46c06 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | mm: Convert swap_set_page_dirty() to swap_dirty_folio() (diff) | |
| download | kernel-af7afdc7bbbe60cb6ce51a86b022d647e1a72717.tar.gz kernel-af7afdc7bbbe60cb6ce51a86b022d647e1a72717.zip | |
nilfs: Convert nilfs_set_page_dirty() to nilfs_dirty_folio()
The comment about the page always being locked is wrong, so copy
the locking protection from __set_page_dirty_buffers(). That
means moving the call to nilfs_set_file_dirty() down the
function so as to not acquire a new dependency between the
mapping->private_lock and the ns_inode_lock. That might be a
harmless dependency to add, but it's not necessary.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Tested-by: Damien Le Moal <[email protected]>
Acked-by: Damien Le Moal <[email protected]>
Tested-by: Mike Marshall <[email protected]> # orangefs
Tested-by: David Howells <[email protected]> # afs
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
