linux/fs/ncpfs
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
..
dir.c ncpfs: propagate umode_t 2012-01-03 22:55:05 -05:00
file.c fs: introduce inode operation ->update_time 2012-06-01 12:07:25 -04:00
getopt.c
getopt.h
inode.c vfs: Rename end_writeback() to clear_inode() 2012-05-06 13:43:41 +08:00
ioctl.c vfs: mnt_drop_write_file() 2012-01-03 22:52:40 -05:00
Kconfig
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
mmap.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ncp_fs_i.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncp_fs_sb.h get rid of idiotic misplaced __kernel_mode_t in ncfps kernel-private data structure 2012-05-29 23:28:42 -04:00
ncp_fs.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncplib_kernel.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncplib_kernel.h ncpfs: propagate umode_t 2012-01-03 22:55:05 -05:00
ncpsign_kernel.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
ncpsign_kernel.h move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
sock.c move internal-only parts of ncpfs headers to fs/ncpfs 2011-01-12 20:03:43 -05:00
symlink.c ncpfs: propagate umode_t 2012-01-03 22:55:05 -05:00