From: Andrew Morton <akpm@osdl.org>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 7/7] fuse: support caching negative dentries
Date: Mon, 28 Nov 2005 12:40:07 -0800 [thread overview]
Message-ID: <20051128124007.1feb4473.akpm@osdl.org> (raw)
In-Reply-To: <E1Egp20-0006vv-00@dorka.pomaz.szeredi.hu>
Miklos Szeredi <miklos@szeredi.hu> 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.
next prev parent reply other threads:[~2005-11-28 20:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-28 19:41 [PATCH 0/7] fuse updates Miklos Szeredi
2005-11-28 19:43 ` [PATCH 1/7] fuse: check directory aliasing in mkdir Miklos Szeredi
2005-11-28 19:45 ` [PATCH 2/7] fuse: check for invalid node ID in fuse_create_open() Miklos Szeredi
2005-11-28 19:46 ` [PATCH 3/7] fuse: clean up fuse_lookup() Miklos Szeredi
2005-11-28 19:47 ` [PATCH 4/7] fuse: clean up page offset calculation Miklos Szeredi
2005-11-28 19:49 ` [PATCH 5/7] fuse: bump interface version Miklos Szeredi
2005-11-28 19:50 ` [PATCH 6/7] fuse: add frsize to statfs reply Miklos Szeredi
2005-11-28 19:51 ` [PATCH 7/7] fuse: support caching negative dentries Miklos Szeredi
2005-11-28 20:40 ` Andrew Morton [this message]
2005-11-28 21:06 ` Miklos Szeredi
2005-11-28 19:57 ` [PATCH 1/7] fuse: check directory aliasing in mkdir Trond Myklebust
2005-11-28 20:09 ` Miklos Szeredi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051128124007.1feb4473.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®