summaryrefslogtreecommitdiff
path: root/libdiskfs/diskfs-pager.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/diskfs-pager.h')
-rw-r--r--libdiskfs/diskfs-pager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdiskfs/diskfs-pager.h b/libdiskfs/diskfs-pager.h
index e8227413..f490e776 100644
--- a/libdiskfs/diskfs-pager.h
+++ b/libdiskfs/diskfs-pager.h
@@ -48,9 +48,11 @@ struct disk_image_user
struct disk_image_user *next;
};
-/* Return zero now. Return a second time with a nonzero error_t
+/* Returns zero now. Returns a second time with a nonzero error_t
if this thread faults accessing `disk_image' before calling
- `diskfs_end_catch_exception' (below). */
+ `diskfs_end_catch_exception' (below), in which case
+ diskfs_end_catch_exception should not be called and the access should be
+ avoided. */
#define diskfs_catch_exception() \
({ \
struct disk_image_user *diu = alloca (sizeof *diu); \