Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207640
b: refs/heads/master
c: 4136510
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris committed Jul 28, 2010
1 parent 9652c25 commit b04195d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2823e04de4f1a49087b58ff2bb8f61361ffd9321
refs/heads/master: 4136510dd61a1ca151fc5b9d8c1ebd5a8ce2e8f4
10 changes: 10 additions & 0 deletions trunk/include/linux/fsnotify_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,15 @@ struct fsnotify_inode_mark {
struct list_head free_i_list; /* tmp list used when freeing this mark */
};

/*
* Mount point specific fields in an fsnotify_mark_entry
*/
struct fsnotify_vfsmount_mark {
struct vfsmount *mnt; /* inode this entry is associated with */
struct hlist_node m_list; /* list of mark_entries by inode->i_fsnotify_mark_entries */
struct list_head free_m_list; /* tmp list used when freeing this mark */
};

/*
* a mark is simply an entry attached to an in core inode which allows an
* fsnotify listener to indicate they are either no longer interested in events
Expand All @@ -255,6 +264,7 @@ struct fsnotify_mark_entry {
spinlock_t lock; /* protect group and inode */
union {
struct fsnotify_inode_mark i;
struct fsnotify_vfsmount_mark m;
};
struct list_head free_g_list; /* tmp list used when freeing this mark */
void (*free_mark)(struct fsnotify_mark_entry *entry); /* called on final put+free */
Expand Down

0 comments on commit b04195d

Please sign in to comment.