kernel-fxtec-pro1x/fs/fuse
Josef Bacik c3b2da3148 fs: introduce inode operation ->update_time
Btrfs has to make sure we have space to allocate new blocks in order to modify
the inode, so updating time can fail.  We've gotten around this by having our
own file_update_time but this is kind of a pain, and Christoph has indicated he
would like to make xfs do something different with atime updates.  So introduce
->update_time, where we will deal with i_version an a/m/c time updates and
indicate which changes need to be made.  The normal version just does what it
has always done, updates the time and marks the inode dirty, and then
filesystems can choose to do something different.

I've gone through all of the users of file_update_time and made them check for
errors with the exception of the fault code since it's complicated and I wasn't
quite sure what to do there, also Jan is going to be pushing the file time
updates into page_mkwrite for those who have it so that should satisfy btrfs and
make it not a big deal to check the file_update_time() return code in the
generic fault path. Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
2012-06-01 12:07:25 -04:00
..
control.c filesystems: add set_nlink() 2011-11-02 12:53:43 +01:00
cuse.c fs: add module.h to files that were implicitly using it 2011-10-31 19:30:31 -04:00
dev.c fuse: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:22 +08:00
dir.c fuse: O_DIRECT support for files 2012-03-05 15:48:11 +01:00
file.c fs: introduce inode operation ->update_time 2012-06-01 12:07:25 -04:00
fuse_i.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse 2012-01-12 12:39:21 -08:00
inode.c ->encode_fh() API change 2012-05-29 23:28:33 -04:00
Kconfig
Makefile