]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a539a0520aa17b49ac2872beffc434d269739c1
tree5019b14b0a9221b08959196e01e3f9326957d678
parenta0cac60d70e458b2502651a0432e39d1940eb66d
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