linux/fs/logfs
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 [LogFS] add new flash file system 2009-11-20 20:13:39 +01:00
Makefile [LogFS] add new flash file system 2009-11-20 20:13:39 +01:00
compr.c [LogFS] add new flash file system 2009-11-20 20:13:39 +01:00
dev_bdev.c logfs: handle powerfail on NAND flash 2010-05-07 19:38:40 +02:00
dev_mtd.c logfs: handle powerfail on NAND flash 2010-05-07 19:38:40 +02:00
dir.c fix leak in __logfs_create() 2010-08-09 16:47:28 -04:00
file.c remove inode_setattr 2010-08-09 16:47:37 -04:00
gc.c logfs: handle powerfail on NAND flash 2010-05-07 19:38:40 +02:00
inode.c logfs: replace inode uid,gid,mode initialization with helper function 2010-05-21 18:31:27 -04:00
journal.c logfs: survive logfs_buf_recover read errors 2010-05-04 19:37:04 +02:00
logfs.h drop unused dentry argument to ->fsync 2010-05-27 22:05:02 -04:00
logfs_abi.h fix "seperate" typos in comments 2010-05-10 11:56:30 +02:00
readwrite.c logfs: commit reservations under space pressure 2010-05-04 19:41:09 +02:00
segment.c logfs: survive logfs_buf_recover read errors 2010-05-04 19:37:04 +02:00
super.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/joern/logfs 2010-05-17 13:53:35 -07:00