Re: [PATCH 0/12] FS-Cache: Generic filesystem caching facility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 15 Nov 2005, Jamie Lokier wrote:

> Linus Torvalds wrote:
> > And if it _is_ properly named (ie it really does mean "this entry
> > positively does not exist") then it shouldn't have the same
> > representation as NULL, because NULL really is traditionally used
> > for "unknown" rather than "known to not exist".
> 
> You mean like:
> 
> > a negative dentry (dentry->d_inode = NULL) is another.
> 
> ? :)

The _dentry_ is negative, and it is not NULL. It has an explicit flag 
saying that it's negative.

We do not have negative inode caches.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux