get rid of nobh_write_begin_newtrunc
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Jun 2010 09:29:54 +0000 (11:29 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:47:30 +0000 (16:47 -0400)
commitea0f04e59543bafb3d2cbe37a0d375acb0bb2c34
tree66a400f5b8e9a01acb72107c72e504325af6fe67
parenteafdc7d190a944c755a9fe68573c193e6e0217e7
get rid of nobh_write_begin_newtrunc

Move the call to vmtruncate to get rid of accessive blocks to the only
remaining caller and rename the non-truncating version to nobh_write_begin.

Get rid of the superflous file argument to it while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/buffer.c
fs/ext2/inode.c
fs/jfs/inode.c
include/linux/buffer_head.h