linux/fs/9p
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
..
Kconfig 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
Makefile 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
cache.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
cache.h 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
fid.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs 2010-04-05 13:42:54 -07:00
fid.h 9p: Documentation updates 2008-05-14 19:23:25 -05:00
v9fs.c 9p: add bdi backing to mount session 2010-04-22 11:42:00 +02:00
v9fs.h 9p: add bdi backing to mount session 2010-04-22 11:42:00 +02:00
v9fs_vfs.h 9p: VFS switches for 9p2000.L: VFS switches 2010-05-21 16:44:33 -05:00
vfs_addr.c 9p: Add fscache support to 9p 2009-09-23 13:03:46 -05:00
vfs_dentry.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
vfs_dir.c 9p: Pass the correct end of buffer to p9stat_read 2010-07-27 14:52:04 -05:00
vfs_file.c drop unused dentry argument to ->fsync 2010-05-27 22:05:02 -04:00
vfs_inode.c remove inode_setattr 2010-08-09 16:47:37 -04:00
vfs_super.c 9p: add 9P2000.L statfs operation 2010-05-21 16:44:33 -05:00