Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207641
b: refs/heads/master
c: 098cf2f
h: refs/heads/master
i:
  207639: 9652c25
v: v3
  • Loading branch information
Eric Paris committed Jul 28, 2010
1 parent b04195d commit be743f4
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 4136510dd61a1ca151fc5b9d8c1ebd5a8ce2e8f4
refs/heads/master: 098cf2fc77ee190c92bf9d08d69a13305f2487ec
2 changes: 2 additions & 0 deletions trunk/fs/notify/inode_mark.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ int fsnotify_add_mark(struct fsnotify_mark_entry *entry,
if (unlikely(!inode))
return -EINVAL;

entry->flags = FSNOTIFY_MARK_FLAG_INODE;

/*
* if this group isn't being testing for inode type events we need
* to start testing
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/linux/fsnotify_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ struct fsnotify_mark_entry {
struct fsnotify_vfsmount_mark m;
};
struct list_head free_g_list; /* tmp list used when freeing this mark */
#define FSNOTIFY_MARK_FLAG_INODE 0x01
#define FSNOTIFY_MARK_FLAG_VFSMOUNT 0x02
unsigned int flags; /* vfsmount or inode mark? */
void (*free_mark)(struct fsnotify_mark_entry *entry); /* called on final put+free */
};

Expand Down

0 comments on commit be743f4

Please sign in to comment.