lkml.org 
[lkml]   [1997]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdcache: d_compare prototype
Hi Bill,

Coda is starting to use the dcache. During a lookup I need to know if I
have credentials for an inode already, I need to use the d_compare
operation.

The current prototype is:

int coda_d_compare(struct dentry *parent,
struct qstr *de_name, struct qstr *name)

Can we make it:

int coda_d_compare(struct dentry *dentry, struct qstr *name)

We can still get at the parent (dentry->d_parent) and at the name
(dentry->d_name) and I won't have to do ugly things like
dentry = list_entry( de_name, struct dentry *, d_name )

Peter



\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.310 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site