[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091014.233140.56663130.davem@davemloft.net>
Date: Wed, 14 Oct 2009 23:31:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: npiggin@...e.de
Cc: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
raven@...maw.net, torvalds@...ux-foundation.org,
linux-kernel@...r.kernel.org, mszeredi@...e.cz
Subject: Re: [patch 2/6] fs: no games with DCACHE_UNHASHED
From: npiggin@...e.de
Date: Thu, 15 Oct 2009 15:40:28 +1100
> (this is in -mm)
>
> Filesystems outside the regular namespace do not have to clear DCACHE_UNHASHED
> in order to have a working /proc/$pid/fd/XXX. Nothing in proc prevents the
> fd link from being used if its dentry is not in the hash.
>
> Also, it does not get put into the dcache hash if DCACHE_UNHASHED is clear;
> that depends on the filesystem calling d_add or d_rehash.
>
> So delete the misleading comments and needless code.
>
> Acked-by: Miklos Szeredi <mszeredi@...e.cz>
> Signed-off-by: Nick Piggin <npiggin@...e.de>
For networking bits:
Acked-by: David S. Miller <davem@...emloft.net>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists