Hi,

cred argument was removed from bread() and breadn()
(http://marc.info/?l=openbsd-cvs&m=130975394527345&w=2)

Is this patch correct ? OK ?

-- 
Alexandr Shadchin

Index: buffercache.9
===================================================================
RCS file: /cvs/src/share/man/man9/buffercache.9,v
retrieving revision 1.7
diff -u -p -r1.7 buffercache.9
--- buffercache.9       24 Jul 2008 14:19:24 -0000      1.7
+++ buffercache.9       30 Jul 2011 15:06:18 -0000
@@ -125,11 +125,11 @@
 .In sys/buf.h
 .Ft int
 .Fn bread "struct vnode *vp" "daddr64_t blkno" "int size" \
-"struct ucred *cred" "struct buf **bpp"
+"struct buf **bpp"
 .Ft int
 .Fn breadn "struct vnode *vp" "daddr64_t blkno" "int size" \
 "daddr64_t rablks[]" "int rasizes[]" "int nrablks" \
-"struct ucred *cred" "struct buf **bpp"
+"struct buf **bpp"
 .Ft int
 .Fn bwrite "struct buf *bp"
 .Ft void
@@ -171,7 +171,7 @@ the disk driver interface.
 .\" ------------------------------------------------------------
 .Sh FUNCTIONS
 .Bl -tag -width compact
-.It Fn bread "vp" "blkno" "size" "cred" "bpp"
+.It Fn bread "vp" "blkno" "size" "bpp"
 Read a block corresponding to
 .Fa vp
 and
@@ -210,7 +210,6 @@ Otherwise, it should be unbusied using
 .Fa "rablks"
 .Fa "rasizes"
 .Fa "nrablks"
-.Fa "cred"
 .Fa "bpp"
 .Fc
 .Xc
@@ -370,9 +369,3 @@ The buffer cache subsystem is implemente
 .%I Addison Wesley
 .%D 1989
 .Re
-.\" ------------------------------------------------------------
-.Sh BUGS
-In the current implementation,
-.Fn bread
-and its variants
-don't use a specified credential.

Reply via email to