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/
- Follow-Ups:
- Re: [PATCH 7/7] fuse: support caching negative dentries
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH 7/7] fuse: support caching negative dentries
- References:
- [PATCH 0/7] fuse updates
- From: Miklos Szeredi <[email protected]>
- [PATCH 1/7] fuse: check directory aliasing in mkdir
- From: Miklos Szeredi <[email protected]>
- [PATCH 2/7] fuse: check for invalid node ID in fuse_create_open()
- From: Miklos Szeredi <[email protected]>
- [PATCH 3/7] fuse: clean up fuse_lookup()
- From: Miklos Szeredi <[email protected]>
- [PATCH 4/7] fuse: clean up page offset calculation
- From: Miklos Szeredi <[email protected]>
- [PATCH 5/7] fuse: bump interface version
- From: Miklos Szeredi <[email protected]>
- [PATCH 6/7] fuse: add frsize to statfs reply
- From: Miklos Szeredi <[email protected]>
- [PATCH 7/7] fuse: support caching negative dentries
- From: Miklos Szeredi <[email protected]>
- [PATCH 0/7] fuse updates
- Prev by Date: Re: s_maxbytes on isofs for 2.4
- Next by Date: [PATCH 6/7] Direct Migration V5: upgrade MPOL_MF_MOVE and sys_migrate_pages()
- Previous by thread: [PATCH 7/7] fuse: support caching negative dentries
- Next by thread: Re: [PATCH 7/7] fuse: support caching negative dentries
- Index(es):