diff options
author | trasz <trasz@FreeBSD.org> | 2009-03-30 20:56:37 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-03-30 20:56:37 +0000 |
commit | 369dfb5670f24cf9f27d3b0d4949c570bb2907b8 (patch) | |
tree | 0bd177c2c20120877ec7daa02b1f1adcbf8657bc /share/man/man9/VOP_REMOVE.9 | |
parent | 17f31804478d7c687653b106a7fa0648e81eb417 (diff) | |
download | FreeBSD-src-369dfb5670f24cf9f27d3b0d4949c570bb2907b8.zip FreeBSD-src-369dfb5670f24cf9f27d3b0d4949c570bb2907b8.tar.gz |
Remove pseudocode from VOP_* manual pages. It was out of date anyway.
Reviewed by: scottl
Approved by: rwatson (mentor)
Diffstat (limited to 'share/man/man9/VOP_REMOVE.9')
-rw-r--r-- | share/man/man9/VOP_REMOVE.9 | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/share/man/man9/VOP_REMOVE.9 b/share/man/man9/VOP_REMOVE.9 index aa04405..0a10ed2 100644 --- a/share/man/man9/VOP_REMOVE.9 +++ b/share/man/man9/VOP_REMOVE.9 @@ -62,27 +62,6 @@ and should be locked on entry and remain locked on return. .Sh RETURN VALUES Zero is returned on success, otherwise an error code is returned. -.Sh PSEUDOCODE -.Bd -literal -int -vop_remove(struct vnode *dvp, struct vnode *vp, struct componentname *cnp) -{ - int error = 0; - - if (vp is immutable) { - error = EPERM; - goto out; - } - - /* - * Remove name cnp->cn_nameptr from directory and update link count - * of vp. - */ - ...; - - return error; -} -.Ed .Sh ERRORS .Bl -tag -width Er .It Bq Er EPERM |