public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 3/3] inotify: misc cleanup
@ 2005-07-13 17:49 Robert Love
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Love @ 2005-07-13 17:49 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: John McCutchan, Andrew Morton, Linux Kernel Mailing List

Linus,

Real simple, basic cleanup.

Please, apply.

	Robert Love


Signed-off-by: Robert Love <rml@novell.com>

 fs/inotify.c          |    9 +++------
 include/linux/sched.h |    2 +-
 kernel/user.c         |    2 +-
 3 files changed, 5 insertions(+), 8 deletions(-)

diff -urN linux-inotify/fs/inotify.c linux/fs/inotify.c
--- linux-inotify/fs/inotify.c	2005-07-13 11:26:02.000000000 -0400
+++ linux/fs/inotify.c	2005-07-13 11:41:25.000000000 -0400
@@ -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>
@@ -936,7 +934,7 @@
 
 	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;
 
@@ -993,8 +991,9 @@
 	if (!filp)
 		return -EBADF;
 	dev = filp->private_data;
-	ret = inotify_ignore (dev, wd);
+	ret = inotify_ignore(dev, wd);
 	fput(filp);
+
 	return ret;
 }
 
@@ -1034,8 +1033,6 @@
 					 sizeof(struct inotify_kernel_event),
 					 0, SLAB_PANIC, NULL, NULL);
 
-	printk(KERN_INFO "inotify syscall\n");
-
 	return 0;
 }
 



^ permalink raw reply	[flat|nested] 2+ messages in thread
* [patch 3/3] inotify: misc cleanup
@ 2005-07-13 17:48 Robert Love
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Love @ 2005-07-13 17:48 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: John McCutchan, Andrew Morton, Linux Kernel Mailing List

Linus,

Real simple, basic cleanup.

Please, apply.

	Robert Love


Signed-off-by: Robert Love <rml@novell.com>

 fs/inotify.c          |    9 +++------
 include/linux/sched.h |    2 +-
 kernel/user.c         |    2 +-
 3 files changed, 5 insertions(+), 8 deletions(-)

diff -urN linux-inotify/fs/inotify.c linux/fs/inotify.c
--- linux-inotify/fs/inotify.c	2005-07-13 11:26:02.000000000 -0400
+++ linux/fs/inotify.c	2005-07-13 11:41:25.000000000 -0400
@@ -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>
@@ -936,7 +934,7 @@
 
 	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;
 
@@ -993,8 +991,9 @@
 	if (!filp)
 		return -EBADF;
 	dev = filp->private_data;
-	ret = inotify_ignore (dev, wd);
+	ret = inotify_ignore(dev, wd);
 	fput(filp);
+
 	return ret;
 }
 
@@ -1034,8 +1033,6 @@
 					 sizeof(struct inotify_kernel_event),
 					 0, SLAB_PANIC, NULL, NULL);
 
-	printk(KERN_INFO "inotify syscall\n");
-
 	return 0;
 }
 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-13 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 17:49 [patch 3/3] inotify: misc cleanup Robert Love
  -- strict thread matches above, loose matches on Subject: below --
2005-07-13 17:48 Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox