<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/inotify.c, branch linux-2.6.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2005-08-26T18:32:57Z</updated>
<entry>
<title>[PATCH] Document idr_get_new_above() semantics, update inotify</title>
<updated>2005-08-26T18:32:57Z</updated>
<author>
<name>John McCutchan</name>
</author>
<published>2005-08-26T18:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c657f2f25d50c602df9291bc6242b98fc090759'/>
<id>urn:sha1:7c657f2f25d50c602df9291bc6242b98fc090759</id>
<content type='text'>
There is an off by one problem with idr_get_new_above.

The comment and function name suggest that it will return an id &gt;
starting_id, but it actually returned an id &gt;= starting_id, and kernel
callers other than inotify treated it as such.

The patch below fixes the comment, and fixes inotifys usage.  The
function name still doesn't match the behaviour, but it never did.

Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: fix idr_get_new_above usage</title>
<updated>2005-08-15T16:48:31Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2005-08-15T16:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0bf955ce98cb3cf40e20d0cc435299eb76e8819e'/>
<id>urn:sha1:0bf955ce98cb3cf40e20d0cc435299eb76e8819e</id>
<content type='text'>
We are saving the wrong thing in -&gt;last_wd.  We want the wd, not the
return value.

Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: fix race between the kernel and user space</title>
<updated>2005-08-01T16:16:53Z</updated>
<author>
<name>John McCutchan</name>
</author>
<published>2005-08-01T15:00:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9c55d29e9fced1eb1b4c252b2efd4b55a0c3c7f'/>
<id>urn:sha1:b9c55d29e9fced1eb1b4c252b2efd4b55a0c3c7f</id>
<content type='text'>
When you rm a watch, an IN_IGNORED event is sent down the event queue
with the watch descriptor that you just rm'd.

If you then add a watch you could get the ignored watch's wd and if you
haven't read the entire event queue, user space will think that it's
newly created watch was just ignored.

To avoid this problem we just use idr_get_new_above instead of
idr_get_new.

Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: fix oops fix</title>
<updated>2005-07-26T21:34:18Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-07-26T21:08:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89373de7dd010832d8b68cb37dabb33ff5a688bb'/>
<id>urn:sha1:89373de7dd010832d8b68cb37dabb33ff5a688bb</id>
<content type='text'>
Cc: Robert Love &lt;rml@novell.com&gt;
Cc: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: check retval in init</title>
<updated>2005-07-26T20:37:22Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2005-07-25T19:17:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5ca844a9d795e97c08bc7901c62a48c28469eb0'/>
<id>urn:sha1:e5ca844a9d795e97c08bc7901c62a48c28469eb0</id>
<content type='text'>
Check for (unlikely) errors in the filesystem initialization stuff in
our module_init() function.

Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: change default limits</title>
<updated>2005-07-26T20:37:22Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2005-07-25T19:13:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e'/>
<id>urn:sha1:1b2ccf0cc15af717263c7cfe5d0aaf5ac057489e</id>
<content type='text'>
Change default inotify limits: Maximum instances per user to 128 and
maximum events per queue to 16k.  The max instances used to be 128; the
change to 8 was a mistake.  Memory consumption is fine.

Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: exit path cleanups</title>
<updated>2005-07-26T20:37:22Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2005-07-25T19:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5eb22cbcdb849886c2584389faff5afb56c23876'/>
<id>urn:sha1:5eb22cbcdb849886c2584389faff5afb56c23876</id>
<content type='text'>
Handle error out paths better.

Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: oops fix</title>
<updated>2005-07-26T20:37:21Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2005-07-25T19:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=783bc29bbc5d6625a4669d3eb1d989a8fb275d43'/>
<id>urn:sha1:783bc29bbc5d6625a4669d3eb1d989a8fb275d43</id>
<content type='text'>
Bug fix: Ensure that the fd passed to inotify_add_watch() and
inotify_rm_watch() belongs to inotify.

Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: use fget_light</title>
<updated>2005-07-26T20:31:57Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2005-07-25T19:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33ea2f52b8758ef62ae4a9d2f91821c47d999ee9'/>
<id>urn:sha1:33ea2f52b8758ef62ae4a9d2f91821c47d999ee9</id>
<content type='text'>
As an optimization, use fget_light() and fput_light() where possible.

Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] inotify: misc. cleanup</title>
<updated>2005-07-26T20:31:57Z</updated>
<author>
<name>Robert Love</name>
</author>
<published>2005-07-25T19:07:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b680716ed28baf549f777fb125fc23ba975985c5'/>
<id>urn:sha1:b680716ed28baf549f777fb125fc23ba975985c5</id>
<content type='text'>
Miscellaneous invariant clean up, comment fixes, and so on.  Trivial
stuff.

Signed-off-by: Robert Love &lt;rml@novell.com&gt;
Signed-off-by: John McCutchan &lt;ttb@tentacle.dhs.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
