aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_ipc.h
diff options
context:
space:
mode:
authorseebs <seebs@seebs-eee.(none)>2010-08-17 16:12:13 -0500
committerseebs <seebs@seebs-eee.(none)>2010-08-17 16:40:15 -0500
commit6ea4acf2af23b5940521825a849deefc07fe9d47 (patch)
tree2a94b834fa0a5a8d0b08f61a412c3dc9a82e7eec /pseudo_ipc.h
parentb66645f72f9ebc0ab2a8aeaf1df8e8219624f61c (diff)
downloadpseudo-6ea4acf2af23b5940521825a849deefc07fe9d47.tar.gz
pseudo-6ea4acf2af23b5940521825a849deefc07fe9d47.tar.bz2
pseudo-6ea4acf2af23b5940521825a849deefc07fe9d47.zip
Draft one effort at making unlink more robust and fixing an obvious
bug in the speculative-unlink operation. The intent is to mark and then confirm or cancel the delete. This removes the quirk where we tried to stash old database entries, which didn't handle directories anyway; "rmdir non-empty-directory" is a bit too common a case to dismiss as unthinkable.
Diffstat (limited to 'pseudo_ipc.h')
-rw-r--r--pseudo_ipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pseudo_ipc.h b/pseudo_ipc.h
index 664cbd2..40953a8 100644
--- a/pseudo_ipc.h
+++ b/pseudo_ipc.h
@@ -48,6 +48,7 @@ typedef struct {
dev_t rdev;
unsigned int pathlen;
int nlink;
+ int deleting;
char path[];
} pseudo_msg_t;