summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2002-03-11 20:47:35 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-03-11 20:47:35 -0800
commitd7d3ae66500056c821c1e183b64bc388348f8e2d (patch)
treee8ee82a4180e62a0282478581ea0dc1c4fba62ee /include
parentcbada281cd3defea968e1edc7ad37cb21082aa9b (diff)
[PATCH] dnotify
The following patch makes directory notifications per thread group instead of per process tree as they are now. This means, in particular, that if a child closes a file descriptor that has a directory open with notifies enabled, the notification will not be removed. Thanks to Andrea for the push in the right direction.
Diffstat (limited to 'include')
-rw-r--r--include/linux/dnotify.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dnotify.h b/include/linux/dnotify.h
index 60c1e2117f10..23e8733ab4fb 100644
--- a/include/linux/dnotify.h
+++ b/include/linux/dnotify.h
@@ -13,6 +13,7 @@ struct dnotify_struct {
see linux/fcntl.h */
int dn_fd;
struct file * dn_filp;
+ fl_owner_t dn_owner;
};
#define DNOTIFY_MAGIC 0x444E4F54