vfs: Create __block_page_mkwrite() helper passing error values back
authorJan Kara <jack@suse.cz>
Mon, 23 May 2011 22:23:34 +0000 (00:23 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 26 May 2011 11:26:44 +0000 (07:26 -0400)
commit24da4fab5a617ecbf0f0c64e7ba7703383faa411
tree28f62d2e0e69b11765f021db53c327b56f741576
parent7c6e984dfca8ff5b04d359a59b24f39a691b87d3
vfs: Create __block_page_mkwrite() helper passing error values back

Create __block_page_mkwrite() helper which does all what block_page_mkwrite()
does except that it passes back errors from __block_write_begin /
block_commit_write calls.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/buffer.c
include/linux/buffer_head.h