ntfs3: refactor ntfs_writepages
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jun 2022 05:37:10 +0000 (07:37 +0200)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 2 Aug 2022 16:34:04 +0000 (12:34 -0400)
commit9139710148744bf10c57ec6ace4f5f9532e040f4
tree10419d5d6b6ba5500e16683330f45979d4629bb6
parent9800562f2ab41656b0bdc2a41c77ab3f6dfdd6fc
ntfs3: refactor ntfs_writepages

Handle the resident case with an explicit generic_writepages call instead
of using the obscure overload that makes mpage_writepages with a NULL
get_block do the same thing.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/ntfs3/inode.c