lkml.org 
[lkml]   [2010]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 05/10] ovl: make sure fsync is never called on the lower filesystem.
From
Date
On Mon, 06 Sep 2010, NeilBrown wrote:
> If we open a directory O_RDONLY, ->realfile could be on the lower
> filesystem.
> While fsync is not likely to be called on such a file, we should make
> sure never to pass the fsync down as we are treating the lower
> filesystem as read-only.

Why not? fsync() works fine on an r/o filesystem. It doesn't do
much, probably, but that's not a reason to add additional complexity.

Thanks,
Miklos


\
 
 \ /
  Last update: 2010-09-06 19:19    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site