-
- Downloads
[PATCH] replace inode_update_time with file_update_time
To allow various options to work per-mount instead of per-sb we need a struct vfsmount when updating ctime and mtime. This preparation patch replaces the inode_update_time routine with a file_update_atime routine so we can easily get at the vfsmount. (and the file makes more sense in this context anyway). Also get rid of the unused second argument - we always want to update the ctime when calling this routine. Signed-off-by:Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@ftp.linux.org.uk> Cc: Anton Altaparmakov <aia21@cantab.net> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- fs/inode.c 15 additions, 12 deletionsfs/inode.c
- fs/ncpfs/file.c 1 addition, 1 deletionfs/ncpfs/file.c
- fs/ntfs/file.c 1 addition, 1 deletionfs/ntfs/file.c
- fs/ntfs/inode.c 19 additions, 1 deletionfs/ntfs/inode.c
- fs/ocfs2/mmap.c 2 additions, 6 deletionsfs/ocfs2/mmap.c
- fs/pipe.c 1 addition, 1 deletionfs/pipe.c
- fs/reiserfs/file.c 1 addition, 1 deletionfs/reiserfs/file.c
- fs/xfs/linux-2.6/xfs_lrw.c 1 addition, 1 deletionfs/xfs/linux-2.6/xfs_lrw.c
- include/linux/fs.h 1 addition, 1 deletioninclude/linux/fs.h
- mm/filemap.c 1 addition, 1 deletionmm/filemap.c
- mm/filemap_xip.c 1 addition, 1 deletionmm/filemap_xip.c
Loading
Please register or sign in to comment