[Libsysio-commit] HEAD: libsysio/include fs.h
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2007-11-30 18:12:55
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv18531/include Modified Files: fs.h Log Message: Initialize file system ID to zero when instancing a new FS. This is a really nasty thing to do; All filesystems have the same ID. Unfortunately, can't do the right thing. It would require all drivers to mod their call to include the desired ID and we don't do such things between releases. Index: fs.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/fs.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -b -B -p -r1.7 -r1.8 --- fs.h 1 May 2007 16:33:52 -0000 1.7 +++ fs.h 30 Nov 2007 18:12:52 -0000 1.8 @@ -124,6 +124,9 @@ struct filesys { /* * Init file system record. + * + * Fix me: FS ID always initialized to zero. The driver needs to supply the + * ID but the required change breaks compatibility. Must wait for next release. */ #define FS_INIT(fs, flags, ops, private) \ do { \ @@ -140,6 +143,7 @@ struct filesys { LIST_INIT(__head); \ __head++; \ } while (--__i); \ + (fs)->fs_id = 0; \ } while (0) /* |