lkml.org 
[lkml]   [2008]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RFC][BUG] updating the ctime and mtime time stamps in msync()
On Thu, 10 Jan 2008 13:53:59 +0300
"Anton Salikhmetov" <salikhmetov@gmail.com> wrote:

> Indeed, if msync() is called with MS_SYNC an explicit sync is
> triggered, and Rik's suggestion would work. However, the POSIX
> standard requires a call to msync() with MS_ASYNC to update the
> st_ctime and st_mtime stamps too. No explicit sync of the inode data
> is triggered in the current implementation of msync(). Hence Rik's
> suggestion would fail to satisfy POSIX in the latter case.

Since your patch is already changing msync(), has it occurred
to you that your patch could change msync() to do the right
thing?

--
All rights reversed.


\
 
 \ /
  Last update: 2008-01-10 16:49    [W:0.083 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site