Re: [PATCH 7/7] fuse: support caching negative dentries

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

 



Miklos Szeredi <[email protected]> wrote:
>
> +void fuse_invalidate_attr(struct inode *inode)
>  +{
>  +	get_fuse_inode(inode)->i_time = jiffies - 1;
>  +}
>  +
>  +static void fuse_invalidate_entry_cache(struct dentry *entry)
>  +{
>  +	entry->d_time = jiffies - 1;
>  +}
>  +

I'd normally have a little whine about lack of comments here - pity the
poor programmer who is trying to work out why on earth that code is doing
that.

But fuse is pretty much a comment-free zone anyway.  Please don't go near
any buses.  
-
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