mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 23:57:30 -04:00
Add a new vnode op (cachedlookup) so that filesystems can plug into
a global vfs_cache check. The rest of this change will come when the current zero size file problem is resolved.
This commit is contained in:
parent
ba05eddfeb
commit
c049f06469
1 changed files with 13 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
# SUCH DAMAGE.
|
||||
#
|
||||
# @(#)vnode_if.src 8.12 (Berkeley) 5/14/95
|
||||
# $Id: vnode_if.src,v 1.9.2000.1 1996/09/17 14:32:01 peter Exp $
|
||||
# $Id: vnode_if.src,v 1.11 1997/02/10 02:11:11 dyson Exp $
|
||||
#
|
||||
|
||||
#
|
||||
|
|
@ -64,6 +64,18 @@ vop_lookup {
|
|||
IN struct componentname *cnp;
|
||||
};
|
||||
|
||||
#
|
||||
#% cachedlookup dvp L ? ?
|
||||
#% cachedlookup vpp - L -
|
||||
#
|
||||
# This must be an exact copy of lookup. See kern/vfs_cache.c for details.
|
||||
#
|
||||
vop_cachedlookup {
|
||||
IN struct vnode *dvp;
|
||||
INOUT struct vnode **vpp;
|
||||
IN struct componentname *cnp;
|
||||
};
|
||||
|
||||
#
|
||||
#% create dvp L U U
|
||||
#% create vpp - L -
|
||||
|
|
|
|||
Loading…
Reference in a new issue