Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4771
b: refs/heads/master
c: 9a556e8
h: refs/heads/master
i:
  4769: 8fb9bd5
  4767: a21694d
v: v3
  • Loading branch information
Robert Love authored and Linus Torvalds committed Jul 13, 2005
1 parent 52768bf commit 7d91d55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 5995f16b4a464c8a57de7c9d5ddf4758dbacad41
refs/heads/master: 9a556e89081b0c1c2f83cee915363b15a68a6f2d
9 changes: 3 additions & 6 deletions trunk/fs/inotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/poll.h>
#include <linux/device.h>
#include <linux/miscdevice.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/writeback.h>
Expand Down Expand Up @@ -934,7 +932,7 @@ asmlinkage long sys_inotify_add_watch(int fd, const char *path, u32 mask)

dev = filp->private_data;

ret = find_inode ((const char __user*)path, &nd);
ret = find_inode((const char __user*) path, &nd);
if (ret)
goto fput_and_out;

Expand Down Expand Up @@ -991,8 +989,9 @@ asmlinkage long sys_inotify_rm_watch(int fd, u32 wd)
if (!filp)
return -EBADF;
dev = filp->private_data;
ret = inotify_ignore (dev, wd);
ret = inotify_ignore(dev, wd);
fput(filp);

return ret;
}

Expand Down Expand Up @@ -1032,8 +1031,6 @@ static int __init inotify_init(void)
sizeof(struct inotify_kernel_event),
0, SLAB_PANIC, NULL, NULL);

printk(KERN_INFO "inotify syscall\n");

return 0;
}

Expand Down

0 comments on commit 7d91d55

Please sign in to comment.