get rid of block_write_begin_newtrunc
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Jun 2010 09:29:58 +0000 (11:29 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:47:33 +0000 (16:47 -0400)
commit155130a4f7848b1aac439cab6bda1a175507c71c
tree5019b14b0a9221b08959196e01e3f9326957d678
parent6e1db88d536adcbbfe562b2d4b7d6425784fff12
get rid of block_write_begin_newtrunc

Move the call to vmtruncate to get rid of accessive blocks to the callers
in preparation of the new truncate sequence and rename the non-truncating
version to block_write_begin.

While we're at it also remove several unused arguments to block_write_begin.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
13 files changed:
fs/bfs/file.c
fs/block_dev.c
fs/buffer.c
fs/ext2/inode.c
fs/minix/inode.c
fs/nilfs2/inode.c
fs/nilfs2/recovery.c
fs/omfs/file.c
fs/sysv/itree.c
fs/udf/inode.c
fs/ufs/inode.c
fs/xfs/linux-2.6/xfs_aops.c
include/linux/buffer_head.h