Now a question for the linux/fs/ gurus:
how should the driver's lookup() function return an error?
I tried to keep Adrian's original ufs xyzzy magic,
and as long as I returned with -ENOENT, it would somehow allocate
a resource that prevented umount()ing the partition.
I tried to add or remove a d_add(dentry,NULL) before to return,
without success. Which leads me to wonder what will happen
if the part of the code that returns -EIO is reached,
in ufs or any other driver. I admit I'm too stoopid/lazy to guess,
but I hope an upcoming VFS documentation will enlighten me...
Cheers,
PS: as always, stuff lies in files byteorder* ufs* under URL:
http://www.eleves.ens.fr:8080/home/rideau/files/
== Faré -=- (FR) François-René Rideau -=- (VN) Уng-Vû Bân -=- rideau@ens.fr ==
Join a project for a free reflective computing system! | 6 rue Augustin Thierry
TUNES is a Useful, Not Expedient System. | 75019 PARIS FRANCE
http://www.eleves.ens.fr:8080/home/rideau/Tunes/ -=- Reflection&Cybernethics ==