From: Christoph Hellwig Cc: Anton Altaparmakov Signed-off-by: Andrew Morton --- fs/inode.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletion(-) diff -puN fs/inode.c~replace-inode_update_time-with-file_update_time-comments fs/inode.c --- devel/fs/inode.c~replace-inode_update_time-with-file_update_time-comments 2005-11-16 17:40:25.000000000 -0800 +++ devel-akpm/fs/inode.c 2005-11-16 17:40:25.000000000 -0800 @@ -1208,7 +1208,11 @@ EXPORT_SYMBOL(update_atime); * @file: file accessed * * Update the mtime and ctime members of an inode and mark the inode - * for writeback. + * for writeback. Note that this function is meant exclusively for + * usage in the file write path of filesystems, and filesystems may + * choose to explicitly ignore update via this function with the + * S_NOCTIME inode flag, e.g. for network filesystem where these + * timestamps are handled by the server. */ void file_update_time(struct file *file) _