summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-09-13 16:40:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-09-13 16:40:20 +0000
commit3d8f9a09c2f944786b052055f89e0c50bb5d4519 (patch)
tree591d07ef943768fbc29509a6ef4ad7432887d0c0 /libdiskfs
parent451f650d2cce4c75f9e22834ed4664dea1f198bf (diff)
(diskfs_lookup): Doc fix.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/diskfs.h5
1 files changed, 4 insertions, 1 deletions
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.