hfs: Call hfs_write_begin() and generic_write_end() directly
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 3 Mar 2022 18:43:29 +0000 (13:43 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 8 May 2022 18:45:56 +0000 (14:45 -0400)
commitcfef1f7b39a6f24555175c48c56bf1dc9fe01d4e
tree4f2b0583ff1cb14b25798575c45b55366f645851
parent652118b8c979e7f21358016b5568aac4b25c64d9
hfs: Call hfs_write_begin() and generic_write_end() directly

There is only one kind of write_begin/write_end aops, so we don't need
to look up which aop it is, just make hfs_write_begin() available to
this file and call it directly.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/hfs/extent.c
fs/hfs/hfs_fs.h
fs/hfs/inode.c