Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207680
b: refs/heads/master
c: 33d3dff
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Eric Paris committed Jul 28, 2010
1 parent 652f8c2 commit ee89d48
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 88380fe66e0ac22529f5426ab27d67da00ed2628
refs/heads/master: 33d3dfff451a2ab6fe2f6aaabed9b24e91aad109
3 changes: 1 addition & 2 deletions trunk/fs/notify/fanotify/fanotify.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#include <linux/fanotify.h>
#include <linux/fdtable.h>
#include <linux/fsnotify_backend.h>
#include <linux/init.h>
#include <linux/kernel.h> /* UINT_MAX */
#include <linux/mount.h>
#include <linux/types.h>

#include "fanotify.h"

static bool should_merge(struct fsnotify_event *old, struct fsnotify_event *new)
{
pr_debug("%s: old=%p new=%p\n", __func__, old, new);
Expand Down
12 changes: 0 additions & 12 deletions trunk/fs/notify/fanotify/fanotify.h

This file was deleted.

5 changes: 3 additions & 2 deletions trunk/fs/notify/fanotify/fanotify_user.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <linux/fanotify.h>
#include <linux/fcntl.h>
#include <linux/file.h>
#include <linux/fs.h>
Expand All @@ -14,7 +15,7 @@

#include <asm/ioctls.h>

#include "fanotify.h"
extern const struct fsnotify_ops fanotify_fsnotify_ops;

static struct kmem_cache *fanotify_mark_cache __read_mostly;

Expand Down Expand Up @@ -102,7 +103,7 @@ static ssize_t fill_event_metadata(struct fsnotify_group *group,

metadata->event_len = FAN_EVENT_METADATA_LEN;
metadata->vers = FANOTIFY_METADATA_VERSION;
metadata->mask = fanotify_outgoing_mask(event->mask);
metadata->mask = event->mask & FAN_ALL_OUTGOING_EVENTS;
metadata->pid = pid_vnr(event->tgid);
metadata->fd = create_fd(group, event);

Expand Down

0 comments on commit ee89d48

Please sign in to comment.