[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.
    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.


     \ /
      Last update: 2010-09-06 19:19    [W:0.024 / U:89.272 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site