Re: find: WARNING: Hard link count is wrong for /proc/1

From: Pekka Enberg
Date: Mon Jun 02 2008 - 12:15:06 EST


On Mon, Jun 2, 2008 at 7:11 PM, Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> On Mon, Jun 2, 2008 at 10:00 AM, Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:
>> diff --git a/fs/proc/base.c b/fs/proc/base.c
>> index c447e07..10ee4a2 100644
>> --- a/fs/proc/base.c
>> +++ b/fs/proc/base.c
>> @@ -2589,6 +2589,9 @@ static struct dentry
>> *proc_pid_instantiate(struct inode *dir,
>> #ifdef CONFIG_SECURITY
>> inode->i_nlink += 1;
>> #endif
>> +#ifdef CONFIG_NET
>
> #if defined(CONFIG_SECURITY) || defined(CONFIG_NET) ?

Oh, forget it. I need to start thinking before posting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/