mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rml@novell.com>
To: John McCutchan <ttb@tentacle.dhs.org>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [RFC][PATCH] inotify 0.13
Date: Wed, 06 Oct 2004 16:55:52 -0400	[thread overview]
Message-ID: <1097096152.4160.15.camel@betsy.boston.ximian.com> (raw)
In-Reply-To: <1097095286.9199.2.camel@vertex>

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

On Wed, 2004-10-06 at 16:41 -0400, John McCutchan wrote:

> -MOVED_FROM/MOVED_TO cookie code (me)

Forgot to update the functions in the case of !CONFIG_INOTIFY.

Attached.

	Robert Love


[-- Attachment #2: inotify-0.13-rml-update-prototypes-1.patch --]
[-- Type: text/x-patch, Size: 1468 bytes --]

Update functions in case of !CONFIG_INOTIFY

Signed-Off-By: Robert Love <rml@novell.com>

 include/linux/inotify.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff -urN linux-inotify-0.13/include/linux/inotify.h linux/include/linux/inotify.h
--- linux-inotify-0.13/include/linux/inotify.h	2004-10-06 16:47:54.470547048 -0400
+++ linux/include/linux/inotify.h	2004-10-06 16:53:21.210874968 -0400
@@ -91,12 +91,13 @@
 
 #ifdef CONFIG_INOTIFY
 
-extern void inotify_inode_queue_event(struct inode *, __u32, __u32, const char *);
+extern void inotify_inode_queue_event(struct inode *, __u32, __u32,
+				      const char *);
 extern void inotify_dentry_parent_queue_event(struct dentry *, __u32, __u32,
 					      const char *);
 extern void inotify_super_block_umount(struct super_block *);
 extern void inotify_inode_is_dead(struct inode *);
-extern __u32  inotify_get_cookie (void);
+extern __u32 inotify_get_cookie(void);
 
 /* this could be kstrdup if only we could add that to lib/string.c */
 static inline char * inotify_oldname_init(struct dentry *old_dentry)
@@ -117,13 +118,13 @@
 #else
 
 static inline void inotify_inode_queue_event(struct inode *inode,
-					     __u32 mask,
+					     __u32 mask, __u32 cookie,
 					     const char *filename)
 {
 }
 
 static inline void inotify_dentry_parent_queue_event(struct dentry *dentry,
-						     __u32 mask,
+						     __u32 mask, __u32 cookie,
 						     const char *filename)
 {
 }

  parent reply	other threads:[~2004-10-06 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06 20:41 John McCutchan
2004-10-06 20:51 ` Robert Love
2004-10-06 20:55 ` Robert Love [this message]
2004-10-06 22:24 ` Robert Love
2004-10-06 23:03 ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1097096152.4160.15.camel@betsy.boston.ximian.com \
    --to=rml@novell.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ttb@tentacle.dhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®