From 3d8f9a09c2f944786b052055f89e0c50bb5d4519 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 13 Sep 1995 16:40:20 +0000 Subject: (diskfs_lookup): Doc fix. --- libdiskfs/diskfs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libdiskfs') diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h index c6a91764..3ae8d086 100644 --- a/libdiskfs/diskfs.h +++ b/libdiskfs/diskfs.h @@ -230,7 +230,10 @@ error_t diskfs_set_statfs (fsys_statfsbuf_t *statfsbuf); If the name is found, return zero, and (if NP is nonzero) set *NP to point to the node for it, locked. If the name is not found, - return ENOENT, and (if NP is nonzero) set *NP to zero. + return ENOENT, and (if NP is nonzero) set *NP to zero. If NP is + zero, then the node found must not be locked, even transitorily. + Lookups for REMOVE and RENAME (which must often check permissions + on the node being found) will always set NP. If DS is nonzero then: For LOOKUP: set *DS to be ignored by diskfs_drop_dirstat. -- cgit v1.2.3