Hi Copied idr.[ch] from 2.6.11 with one modification: replaced the __clear_bit() calls with clear_bit() (__clear_bit() is not available and I didn't wanted to have one more architecture specific backport, see the atomic_inc_return patch). As far as I can see __clear_bit() misses a "lock" on x86. I don't know if the overhead is big or not... This is needed by "inotify.c". -- Mihai Rusu Linux System Development Schlund + Partner AG Tel : +40-21-231-2544 Str Mircea Eliade 18 EMail : dizzy@schlund.ro Sect 1, Bucuresti 71295, Romania