From: Robert Love <rml@novell.com>
To: John McCutchan <ttb@tentacle.dhs.org>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [patch] inotify: make user visible types portable
Date: Thu, 30 Sep 2004 18:30:47 -0400 [thread overview]
Message-ID: <1096583447.4203.88.camel@betsy.boston.ximian.com> (raw)
In-Reply-To: <1096583108.4203.86.camel@betsy.boston.ximian.com>
[-- Attachment #1: Type: text/plain, Size: 278 bytes --]
On Thu, 2004-09-30 at 18:25 -0400, Robert Love wrote:
> (speaking of which, we had 'mask' as an 'unsigned long' inside inotify.c,
> so this change was needed anyhow).
Ugh. We _also_ add mask sprinkled about as an int.
This patch makes those __u32 types, too.
Robert Love
[-- Attachment #2: inotify-more-mask-type-changes-1.patch --]
[-- Type: text/x-patch, Size: 819 bytes --]
s/int mask/__u32 mask/
Signed-Off-By: Robert Love <rml@novell.com>
drivers/char/inotify.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-inotify/drivers/char/inotify.c 2004-09-30 18:25:19.102473088 -0400
+++ linux/drivers/char/inotify.c 2004-09-30 18:29:03.495360184 -0400
@@ -136,7 +136,7 @@
iput(inode);
}
-struct inotify_kernel_event *kernel_event(int wd, int mask,
+struct inotify_kernel_event *kernel_event(int wd, __u32 mask,
const char *filename)
{
struct inotify_kernel_event *kevent;
@@ -319,7 +319,7 @@
* Grabs dev->lock, so the caller must not hold it.
*/
static struct inotify_watcher *create_watcher(struct inotify_device *dev,
- int mask, struct inode *inode)
+ __u32 mask, struct inode *inode)
{
struct inotify_watcher *watcher;
next prev parent reply other threads:[~2004-09-30 22:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-28 22:33 [RFC][PATCH] inotify 0.11.0 [WITH PATCH!] John McCutchan
2004-09-30 19:01 ` [patch] inotify: locking Robert Love
2004-09-30 19:17 ` Robert Love
2004-09-30 21:36 ` [patch] inotify: ioctl makeover Robert Love
2004-09-30 22:25 ` [patch] inotify: make user visible types portable Robert Love
2004-09-30 22:30 ` Robert Love [this message]
2004-10-02 9:21 ` David Woodhouse
2004-09-30 22:57 ` Paul Jackson
2004-10-01 5:35 ` Robert Love
2004-10-01 6:44 ` Paul Jackson
2004-10-01 7:39 ` Robert Love
2004-10-01 15:40 ` Paul Jackson
2004-10-01 15:47 ` Robert Love
2004-10-01 16:13 ` Paul Jackson
2004-10-01 16:31 ` Chris Friesen
2004-10-01 18:00 ` Paul Jackson
2004-09-30 22:43 ` [patch] inotify: rename inotify_watcher Robert Love
2004-09-30 22:44 ` Robert Love
2004-09-30 22:53 ` [patch] inotify: rename slab-related stuff Robert Love
2004-10-01 17:46 ` [patch] inotify: misc changes 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=1096583447.4203.88.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®