AUFS bug ?

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 28 Jul 2002 13:51:59 +0200

Hi,

I'm working on awin32 fs module of NT port (an aufs WIN32 port by Robert
Collins), and l'm found a strange thing in store_io_aufs.c present on aufs too:

In storeAufsCreate(), sio->mode is set to O_WRONLY | O_BINARY, but in
storeAufsOpenDone() (the only place where i can able to find the usage of
sio->mode)there is the following code:

     if (sio->mode == O_WRONLY)
         storeAufsKickWriteQueue(sio);
     else if (sio->mode == O_RDONLY)
         storeAufsKickReadQueue(sio);

Instead, in storeAufsOpen(), sio->mode is set to O_RDONLY. There are no any
other places with sio->mode assignment, so, I think that the assignment in
storeAufsCreate() is wrong.

Any other opinions ?

Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Sun Jul 28 2002 - 05:52:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:54 MST