[lkml]   [2000]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subjectinnd mmap bug in 2.4.0-test12
    I can confirm the bug which loses updates to the inn active file when
    it's unmapped is present again in 2.4.0-test12.

    I put "cp active active.ok" in the rc file before shutting down the
    daemon and at the next boot the files are different, every time.

    Alexander Viro posted this test case:

    #include <unistd.h>
    int argc;
    char **argv;
    int fd;
    char c=0;
    truncate(argv[1], 10);
    fd = open(argv[1], 1);
    lseek(fd, 16384, 0);
    write(fd, &c, 1);

    but I tried it and it gives the correct result (a 16384 bytes long file
    with only the first few bytes non-zeroed).

    Linux wonderland 2.4.0-test12 #15 Thu Dec 21 16:40:16 CET 2000 i586 unknown


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:52    [W:0.019 / U:54.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site