linux-sg2042/fs/ntfs
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
..
Kconfig fs/Kconfig: move ntfs out 2009-01-22 13:15:55 +03:00
Makefile fs: change to new flag variable 2011-03-17 14:02:57 +01:00
aops.c ntfs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:25 +08:00
aops.h
attrib.c ntfs: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:25 +08:00
attrib.h
bitmap.c
bitmap.h
collate.c
collate.h
compress.c Fix common misspellings 2011-03-31 11:26:23 -03:00
debug.c
debug.h treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
dir.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
dir.h
endian.h
file.c fs: introduce inode operation ->update_time 2012-06-01 12:07:25 -04:00
index.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
index.h
inode.c vfs: Rename end_writeback() to clear_inode() 2012-05-06 13:43:41 +08:00
inode.h vfs: switch ->show_options() to struct dentry * 2012-01-06 23:19:54 -05:00
layout.h Typos: change aditional to additional. 2012-02-21 11:40:36 +01:00
lcnalloc.c
lcnalloc.h
logfile.c Fix common misspellings 2011-03-31 11:26:23 -03:00
logfile.h Fix common misspellings 2011-03-31 11:26:23 -03:00
malloc.h mm: replace various uses of num_physpages by totalram_pages 2009-09-22 07:17:38 -07:00
mft.c NTFS: Correct two spelling errors "dealocate" to "deallocate" in mft.c. 2012-02-24 09:17:09 +00:00
mft.h
mst.c
namei.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
ntfs.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
quota.c
quota.h
runlist.c Fix common misspellings 2011-03-31 11:26:23 -03:00
runlist.h
super.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-03-21 13:36:41 -07:00
sysctl.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
sysctl.h
time.h
types.h
unistr.c
upcase.c ntfs: le*_add_cpu conversion 2008-05-24 09:56:08 -07:00
usnjrnl.c
usnjrnl.h ntfs: remove private wrapper of endian helpers 2009-04-01 08:59:18 -07:00
volume.h ntfs: propagate umode_t 2012-01-03 22:55:08 -05:00