linux/fs/hfsplus
Christoph Hellwig 1025774ce4 remove inode_setattr
Replace inode_setattr with opencoded variants of it in all callers.  This
moves the remaining call to vmtruncate into the filesystem methods where it
can be replaced with the proper truncate sequence.

In a few cases it was obvious that we would never end up calling vmtruncate
so it was left out in the opencoded variant:

 spufs: explicitly checks for ATTR_SIZE earlier
 btrfs,hugetlbfs,logfs,dlmfs: explicitly clears ATTR_SIZE earlier
 ufs: contains an opencoded simple_seattr + truncate that sets the filesize just above

In addition to that ncpfs called inode_setattr with handcrafted iattrs,
which allowed to trim down the opencoded variant.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-08-09 16:47:37 -04:00
..
bfind.c
bitmap.c hfsplus: check read_mapping_page() return value 2008-10-16 11:21:46 -07:00
bnode.c [PATCH] fs: Conversions from kmalloc+memset to k(z|c)alloc 2006-09-27 08:26:10 -07:00
brec.c
btree.c hfsplus: fix warning with 64k PAGE_SIZE 2008-04-30 08:29:52 -07:00
catalog.c hfsplus: fix Buffer overflow with a corrupted image 2008-10-16 11:21:46 -07:00
dir.c hfsplus: Push down BKL into ioctl function 2010-05-17 05:27:03 +02:00
extents.c hfsplus: fix possible deadlock when handling corrupted extents 2008-10-20 08:52:38 -07:00
hfsplus_fs.h hfsplus: Push down BKL into ioctl function 2010-05-17 05:27:03 +02:00
hfsplus_raw.h [PATCH] extend the set of "__attribute__" shortcut macros 2007-02-11 10:51:35 -08:00
inode.c remove inode_setattr 2010-08-09 16:47:37 -04:00
ioctl.c hfsplus: Push down BKL into ioctl function 2010-05-17 05:27:03 +02:00
Kconfig fs/Kconfig: move hfs, hfsplus out 2009-01-22 13:15:57 +03:00
Makefile
options.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
part_tbl.c fix file specification in comments 2006-10-03 23:01:26 +02:00
super.c pass writeback_control to ->write_inode 2010-03-05 13:25:52 -05:00
tables.c
unicode.c fs/hfsplus/unicode.c: fix uninitialized var warning 2008-02-08 09:22:36 -08:00
wrapper.c hfsplus: refuse to mount volumes larger than 2TB 2009-10-29 07:39:27 -07:00