Subject: Re: _simple_lock kernel panic while listing some procfs files
To: Antti Kantee <pooka@cs.hut.fi>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 02/18/2007 03:24:50
On Sun, Feb 18, 2007 at 03:56:01AM +0200, Antti Kantee wrote:
> On Sun Feb 18 2007 at 02:00:42 +0100, Nicolas Joly wrote:
> > I noticed a problem with linux mounts, some linux specific files can
> > be seen with readdir(2)/getdents(2), but not accessed directly with
> > access(2)/stat(2) :
> > 
> > [snip]
> >
> > njoly@cixy [linux/proc]> ls cpuinfo
> > ls: cpuinfo: No such file or directory
> > njoly@cixy [linux/proc]> ls -l >/dev/null
> > ls: cpuinfo: No such file or directory
> > ls: devices: No such file or directory
> > ls: meminfo: No such file or directory
> > ls: mounts: No such file or directory
> > ls: uptime: No such file or directory
> 
> Ah, right, I forgot to test the top level with -o linux.  Can you test
> again with procfs_vnops.c:1.150.  I think I got it right this time ;)

Perfect ! Thanks a lot.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.