Skip to contentSkip to conversation

Patch: 2.5.62 devfs shrink

DISCUSSION Adam J. Richter 1 participant 1 message Feb 28, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · Andrew Walrond

I assume you meant devfs_helper here:

Quoted 1 line

devfsd is not a deamon. Instead, the new devfs invokes devfs_helper

------

Right. I've checked in the fix. Thanks.

Quoted 3 lines

Looks good to me. I want to give this another whirl, but your latest patch doesn't apply cleanly against 2.5.63+ (fs/devfs/base.c fails). Any chance of an update?

I've just come across a bug with in in 2.5.63 where
devfs_helper hangs while trying to down a semaphore. I think it is doing down(&dir->i_sem) in some lookup routine in fs/namei.c. I am trying to figure out what exactly inode->i_sem protects so I can determine if it is OK for the routine that calls defvs_helper to release it and reacquire it when devfs_helper exits. Once I think I've fixed this, I'll post a new patch.

Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America

"Free Software For The Rest Of Us."