Re: wrong hardlink count in /proc

Previous thread: [PATCH] cifs: fix oops on mount when CONFIG_CIFS_DFS_UPCALL is enabled by Marcin Slusarz on Saturday, June 7, 2008 - 12:00 pm. (3 messages)

Next thread: Re: [patch 00/50] 2.6.25.6 -stable review by Marco Berizzi on Saturday, June 7, 2008 - 1:27 pm. (2 messages)
From: Dave Jones
Date: Saturday, June 7, 2008 - 12:34 pm

In 2.6.25, 'find /proc/ -name foo' will print out ..

find: WARNING: Hard link count is wrong for /proc/1: this may be a bug
in your filesystem driver.  Automatically turning on find's -noleaf
option.  Earlier results may have failed to include directories that
should have been searched.


	Dave

-- 
http://www.codemonkey.org.uk
--

From: Willy Tarreau
Date: Saturday, June 7, 2008 - 12:46 pm

I also encountered this one. I think it is the one which 2.6.25.6 stable
patch 42/50 fixes.

Willy

--

From: Dave Jones
Date: Saturday, June 7, 2008 - 12:50 pm

On Sat, Jun 07, 2008 at 09:46:04PM +0200, Willy Tarreau wrote:
 > On Sat, Jun 07, 2008 at 03:34:24PM -0400, Dave Jones wrote:
 > > In 2.6.25, 'find /proc/ -name foo' will print out ..
 > > 
 > > find: WARNING: Hard link count is wrong for /proc/1: this may be a bug
 > > in your filesystem driver.  Automatically turning on find's -noleaf
 > > option.  Earlier results may have failed to include directories that
 > > should have been searched.
 > 
 > I also encountered this one. I think it is the one which 2.6.25.6 stable
 > patch 42/50 fixes.

Ah, great.   I just noticed that .26rc doesn't seem affected, so sounds good.

Thanks,

	Dave

-- 
http://www.codemonkey.org.uk
--

From: Alejandro Riveira
Date: Saturday, June 7, 2008 - 1:04 pm

El Sat, 7 Jun 2008 15:50:42 -0400

 well on my ubuntu box i get with .26-rc5

 [alex@Varda:kernel/linux-2.6]$ uname -a                      
 Linux Varda 2.6.26-rc5 #1 SMP PREEMPT Thu Jun 5 10:59:53 CEST 2008 x86_64 GNU/Linux
 [alex@Varda:kernel/linux-2.6]$ LC_ALL=C sudo find /proc -name foo                                              
 find: WARNING: Hard link count is wrong for /proc/1: this may be a bug in your filesystem driver.  Automatically turning   on find's -noleaf option.  Earlier results may have failed to include directories that should have been searched.
 find: /proc/5257/net: Invalid argument
--

From: Willy Tarreau
Date: Saturday, June 7, 2008 - 1:08 pm

It was merged after 2.6.26-rc5. Commit id is aed54175 which is post-rc5.

Regards,
Willy

--

From: Alejandro Riveira
Date: Saturday, June 7, 2008 - 1:25 pm

El Sat, 7 Jun 2008 22:08:18 +0200
 

--

Previous thread: [PATCH] cifs: fix oops on mount when CONFIG_CIFS_DFS_UPCALL is enabled by Marcin Slusarz on Saturday, June 7, 2008 - 12:00 pm. (3 messages)

Next thread: Re: [patch 00/50] 2.6.25.6 -stable review by Marco Berizzi on Saturday, June 7, 2008 - 1:27 pm. (2 messages)