Source-Changes-HG archive

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

[src/trunk]: src/lib/libpuffs In node_lookup() ops, pcn->pcn_nameiop contains...



details:   https://anonhg.NetBSD.org/src/rev/9b66b873125e
branches:  trunk
changeset: 764392:9b66b873125e
user:      manu <manu%NetBSD.org@localhost>
date:      Tue Apr 19 10:35:24 2011 +0000

description:
In node_lookup() ops, pcn->pcn_nameiop contains a NAMEI_* constant, not
PUFFSLOOKUP_*

diffstat:

 lib/libpuffs/puffs_ops.3 |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (45 lines):

diff -r 14293e8e6fb8 -r 9b66b873125e lib/libpuffs/puffs_ops.3
--- a/lib/libpuffs/puffs_ops.3  Tue Apr 19 10:21:51 2011 +0000
+++ b/lib/libpuffs/puffs_ops.3  Tue Apr 19 10:35:24 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: puffs_ops.3,v 1.27 2010/12/13 09:06:51 pooka Exp $
+.\"    $NetBSD: puffs_ops.3,v 1.28 2011/04/19 10:35:24 manu Exp $
 .\"
 .\" Copyright (c) 2007 Antti Kantee.  All rights reserved.
 .\"
@@ -372,17 +372,17 @@
 .Pp
 The type of operation is found from
 .Va pcn-\*[Gt]pcn_nameiop :
-.Bl -tag -width XPUFFSLOOKUP_LOOKUPX
-.It Dv PUFFSLOOKUP_LOOKUP
+.Bl -tag -width XNAMEI_LOOKUPX
+.It Dv NAMEI_LOOKUP
 Normal lookup operation.
-.It Dv PUFFSLOOKUP_CREATE
+.It Dv NAMEI_CREATE
 Lookup to create a node.
-.It Dv PUFFSLOOKUP_DELETE
+.It Dv NAMEI_DELETE
 Lookup for node deletion.
-.It Dv PUFFSLOOKUP_RENAME
+.It Dv NAMEI_RENAME
 Lookup for the target of a rename operation (source will be looked
 up using
-.Dv PUFFSLOOKUP_DELETE ) .
+.Dv NAMEI_DELETE ) .
 .El
 .Pp
 The final component from a pathname lookup usually requires special
@@ -400,9 +400,9 @@
 As a special case,
 .Er ENOENT
 signals "success" for cases where the lookup operation is
-.Dv PUFFSLOOKUP_CREATE
+.Dv NAMEI_CREATE
 or
-.Dv PUFFSLOOKUP_RENAME .
+.Dv NAMEI_RENAME .
 Failure in these cases can be signalled by returning another appropriate
 error code, for example
 .Er EACCESS .



Home | Main Index | Thread Index | Old Index