Module Name: src Committed By: wiz Date: Mon Jan 17 22:27:10 UTC 2022
Modified Files: src/share/man/man9: genfs_rename.9 Log Message: use "non-null" instead of "nonnull" for readability To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/genfs_rename.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man9/genfs_rename.9 diff -u src/share/man/man9/genfs_rename.9:1.4 src/share/man/man9/genfs_rename.9:1.5 --- src/share/man/man9/genfs_rename.9:1.4 Thu Feb 8 09:03:23 2018 +++ src/share/man/man9/genfs_rename.9 Mon Jan 17 22:27:10 2022 @@ -1,4 +1,4 @@ -.\" $NetBSD: genfs_rename.9,v 1.4 2018/02/08 09:03:23 dholland Exp $ +.\" $NetBSD: genfs_rename.9,v 1.5 2022/01/17 22:27:10 wiz Exp $ .\" .\" Copyright (c) 2013 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -257,7 +257,7 @@ Return zero on success or error on failu .Fa fdvp and .Fa tdvp -are guaranteed to be distinct, nonnull, referenced, and unlocked. +are guaranteed to be distinct, non-null, referenced, and unlocked. Since no locks are held on entry except for the file-system-wide rename lock, .Fa gro_genealogy @@ -304,7 +304,7 @@ as required for this check by some file .Fa dvp and .Fa vp -are guaranteed to be distinct, nonnull, referenced, and locked. +are guaranteed to be distinct, non-null, referenced, and locked. .It Ft int Fn "(*gro_rename_check_possible)" "struct mount *mp" "struct vnode *fdvp" "struct vnode *fvp" "struct vnode *tdvp" "struct vnode *tvp" Return zero if the file system might allow the rename independent of credentials, or error if not. @@ -321,7 +321,7 @@ distinct. .Fa tvp may be .Dv NULL ; -every other vnode is guaranteed to be nonnull. +every other vnode is guaranteed to be non-null. All three or four vnodes are guaranteed to be referenced and locked. .It Ft int Fn "(*gro_rename_check_permitted)" "struct mount *mp" "kauth_cred_t cred" "struct vnode *fdvp" "struct vnode *fvp" "struct vnode *tdvp" "struct vnode *tvp" Return zero if the file system allows the rename given the credentials @@ -340,7 +340,7 @@ distinct. .Fa tvp may be .Dv NULL ; -every other vnode is guaranteed to be nonnull. +every other vnode is guaranteed to be non-null. All three or four vnodes are guaranteed to be referenced and locked. .It Ft int Fn "(*gro_rename)" "struct mount *mp" "kauth_cred_t cred" "struct vnode *fdvp" "struct componentname *fcnp" "void *fde" "struct vnode *fvp" "struct vnode *tdvp" "struct componentname *tcnp" "void *tde" "struct vnode *tvp" Perform the physical file system rename operation, report any knotes, @@ -378,7 +378,7 @@ and may be the same; every other pair of vnodes is guaranteed to be distinct. .Fa tvp -may be null; every other vnode is guaranteed to be nonnull. +may be null; every other vnode is guaranteed to be non-null. All three or four vnodes are guaranteed to be referenced and locked. .It Ft int Fn "(*gro_remove_check_possible)" "struct mount *mp" "struct vnode *dvp" "struct vnode *vp" Return zero if the file system might allow removing an entry in @@ -393,7 +393,7 @@ for file systems similar to UFS/FFS. .Fa dvp and .Fa vp -are guaranteed to be distinct, nonnull, referenced, and locked. +are guaranteed to be distinct, non-null, referenced, and locked. .Pp This, and .Fa gro_remove_check_permitted @@ -419,7 +419,7 @@ for file systems similar to UFS/FFS. .Fa dvp and .Fa vp -are guaranteed to be distinct, nonnull, referenced, and locked. +are guaranteed to be distinct, non-null, referenced, and locked. .It Ft int Fn "(*gro_remove)" "struct mount *mp" "kauth_cred_t cred" "struct vnode *dvp" "struct componentname *cnp" "void *de" "struct vnode *vp" For a rename that is effectively a remove, perform the physical file system remove operation, report any knotes, and purge the namecache @@ -456,7 +456,7 @@ depending on whether this removed the la .Fa dvp and .Fa vp -are guaranteed to be distinct, nonnull, referenced, and locked. +are guaranteed to be distinct, non-null, referenced, and locked. .El .Pp The following utilities are provided for implementing the