]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9db046cfeda0ee19e43af4fa24ef9005ead641cd
tree4f2b0583ff1cb14b25798575c45b55366f645851
parentc669c5eccb3a71c5fd5cf649c50ef48bf114524d
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