truncate: new helpers
authornpiggin@suse.de <npiggin@suse.de>
Thu, 20 Aug 2009 16:35:05 +0000 (02:35 +1000)
committeral <al@dizzy.pdmi.ras.ru>
Thu, 24 Sep 2009 12:41:47 +0000 (08:41 -0400)
commit25d9e2d15286281ec834b829a4aaf8969011f1cd
treee4329a481ca197afae30f04335e023c7d04f7d67
parenteca6f534e61919b28fb21aafbd1c2983deae75be
truncate: new helpers

Introduce new truncate helpers truncate_pagecache and inode_newsize_ok.
vmtruncate is also consolidated from mm/memory.c and mm/nommu.c and
into mm/truncate.c.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Documentation/vm/locking
fs/attr.c
include/linux/fs.h
include/linux/mm.h
mm/filemap.c
mm/memory.c
mm/mremap.c
mm/nommu.c
mm/truncate.c