vfs: remove unused wrapper block_page_mkwrite()
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Tue, 13 Oct 2015 22:51:02 +0000 (16:51 -0600)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Nov 2015 07:19:33 +0000 (02:19 -0500)
commit5c50002963369c7c622b18ff751719eadbe225c5
treef475c0c337b79a5c8085e2c9b91dc2cec1d4ef18
parent54d15714f7497094a0839537f0d47946edb45761
vfs: remove unused wrapper block_page_mkwrite()

The function currently called "__block_page_mkwrite()" used to be called
"block_page_mkwrite()" until a wrapper for this function was added by:

commit 24da4fab5a61 ("vfs: Create __block_page_mkwrite() helper passing
error values back")

This wrapper, the current "block_page_mkwrite()", is currently unused.
__block_page_mkwrite() is used directly by ext4, nilfs2 and xfs.

Remove the unused wrapper, rename __block_page_mkwrite() back to
block_page_mkwrite() and update the comment above block_page_mkwrite().

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.com>
Cc: Jan Kara <jack@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/buffer.c
fs/ext4/inode.c
fs/nilfs2/file.c
fs/xfs/xfs_file.c
include/linux/buffer_head.h