patch-2.4.19 linux-2.4.19/include/linux/dnotify.h
Next file: linux-2.4.19/include/linux/ethtool.h
Previous file: linux-2.4.19/include/linux/devfs_fs_kernel.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/linux/dnotify.h
- Orig date:
Mon Feb 25 11:38:13 2002
diff -urN linux-2.4.18/include/linux/dnotify.h linux-2.4.19/include/linux/dnotify.h
@@ -1,21 +1,20 @@
/*
* Directory notification for Linux
*
- * Copyright 2000 (C) Stephen Rothwell
+ * Copyright (C) 2000,2002 Stephen Rothwell
*/
struct dnotify_struct {
struct dnotify_struct * dn_next;
- int dn_magic;
unsigned long dn_mask; /* Events to be notified
see linux/fcntl.h */
int dn_fd;
struct file * dn_filp;
+ fl_owner_t dn_owner;
};
-#define DNOTIFY_MAGIC 0x444E4F54
-
extern void __inode_dir_notify(struct inode *, unsigned long);
+extern void dnotify_flush(struct file *filp, fl_owner_t id);
extern int fcntl_dirnotify(int, struct file *, unsigned long);
static inline void inode_dir_notify(struct inode *inode, unsigned long event)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)