summaryrefslogtreecommitdiff
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-02-09 20:22:11 +0000
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-16 13:36:47 -0400
commitaf7afdc7bbbe60cb6ce51a86b022d647e1a72717 (patch)
treeece882246f97da4c96ddd1ddb8e0a62740c46c06 /fs/ecryptfs
parent7e63df00cf5e609ebbee5ffbc3df1900d8a4443c (diff)
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) <willy@infradead.org> Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs Tested-by: David Howells <dhowells@redhat.com> # afs
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions