[lkml]   [2004]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] let fat handle MS_SYNCHRONOUS flag
    On Thu, Nov 18, 2004 at 07:49:59PM +0100, Colin Leroy wrote:
    > Hi,
    > this patch is an RFC patch not to be applied.
    > It adds MS_SYNCHRONOUS support to FAT filesystem, so that less
    > filesystem breakage happen when disconnecting an USB key, for
    > example. I'd like to have comments about it, because as it
    > seems to work fine here, I'm not used to fs drivers and could
    > have made mistakes.
    > Thanks,
    > + if (bh != NULL) {
    > + sync_dirty_buffer(bh);
    > + brelse(bh);
    > + } else {
    > + BUG_ON(1);

    This construct is really weird.

    How about:


    Concept seems good, and the implementation otherwise looks good at
    first glance.

    Mathematics is the supreme nostalgia of our time.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:08    [W:0.019 / U:79.928 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site