Re: [PATCH] update ctime and mtime for mmaped write

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Thursday, February 22, 2007 - 11:08 am

> >> Why is the flag checked in __fput()?

__fput() will be called when there are no more references to 'file',
then it will update the time if the flag is set.  This applies to
regular files as well as devices.

But I've moved the check from __fput to remove_vma() in the next
revision of the patch, which would give slightly nicer semantics, and
be equally conforming.

Thanks,
Miklos
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Wed Feb 21, 10:51 am)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Wed Feb 21, 11:07 am)
Re: [PATCH] update ctime and mtime for mmaped write, Trond Myklebust, (Wed Feb 21, 11:12 am)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Wed Feb 21, 11:23 am)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Wed Feb 21, 11:28 am)
Re: [PATCH] update ctime and mtime for mmaped write, Trond Myklebust, (Wed Feb 21, 11:36 am)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Wed Feb 21, 11:50 am)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Wed Feb 21, 11:50 am)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Wed Feb 21, 11:54 am)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Wed Feb 21, 12:07 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Andrew Morton, (Wed Feb 21, 9:26 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Thu Feb 22, 12:49 am)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Thu Feb 22, 10:36 am)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Thu Feb 22, 10:39 am)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Thu Feb 22, 11:08 am)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Thu Feb 22, 11:16 am)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Thu Feb 22, 1:11 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Thu Feb 22, 1:14 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Thu Feb 22, 1:43 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Thu Feb 22, 1:48 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Thu Feb 22, 1:50 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Thu Feb 22, 1:55 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Trond Myklebust, (Thu Feb 22, 2:04 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Thu Feb 22, 2:28 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Peter Staubach, (Thu Feb 22, 2:52 pm)
Re: [PATCH] update ctime and mtime for mmaped write, Miklos Szeredi, (Thu Feb 22, 3:08 pm)