<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/fs/char_dev.c, branch v2.6.28</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.28</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.28'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-10-23T09:12:59Z</updated>
<entry>
<title>[PATCH] tidy up chrdev_open</title>
<updated>2008-10-23T09:12:59Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2008-08-11T13:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a518ab9329041411526ab8e05edfda7e2715244f'/>
<id>urn:sha1:a518ab9329041411526ab8e05edfda7e2715244f</id>
<content type='text'>
Use a single goto label for chrdev_put + return error cases.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>remove CONFIG_KMOD from fs</title>
<updated>2008-10-16T15:38:36Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes@sipsolutions.net</email>
</author>
<published>2008-07-09T08:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19'/>
<id>urn:sha1:5f4123be3cdb1dbd77fa9d6d2bb96bb9689a0a19</id>
<content type='text'>
Just always compile the code when the kernel is modular.
Convert load_nls to use try_then_request_module to tidy
up the code.

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>Remove the lock_kernel() call from chrdev_open()</title>
<updated>2008-06-20T20:05:53Z</updated>
<author>
<name>Jonathan Corbet</name>
<email>corbet@lwn.net</email>
</author>
<published>2008-05-18T21:40:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9514dff918b947ae43b66517dc90d0e05548bd6a'/>
<id>urn:sha1:9514dff918b947ae43b66517dc90d0e05548bd6a</id>
<content type='text'>
All in-kernel char device open() functions now either have their own
lock_kernel() calls or clearly do not need one.

Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>Add a comment in chrdev_open()</title>
<updated>2008-06-20T20:05:53Z</updated>
<author>
<name>Jonathan Corbet</name>
<email>corbet@lwn.net</email>
</author>
<published>2008-05-18T21:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a30427d92d0bc152b833088e4a305bbeb1a0c162'/>
<id>urn:sha1:a30427d92d0bc152b833088e4a305bbeb1a0c162</id>
<content type='text'>
I stared at this code for a while and almost deleted it before
understanding crept into my slow brain.  Hopefully this makes life easier
for the next person to happen on it.

Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
</entry>
<entry>
<title>fs: remove unused fops from struct char_device_struct</title>
<updated>2008-04-29T15:06:01Z</updated>
<author>
<name>Jiri Olsa</name>
<email>olsajiri@gmail.com</email>
</author>
<published>2008-04-29T07:59:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=61d64576a21275114d6bffff3c1cac6c8e2f7cf2'/>
<id>urn:sha1:61d64576a21275114d6bffff3c1cac6c8e2f7cf2</id>
<content type='text'>
struct char_device_struct::fops is no longer used: remove it.

Signed-off-by: Jiri Olsa &lt;olsajiri@gmail.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>fs/char_dev.c: chrdev_open marked static and removed from fs.h</title>
<updated>2008-02-08T17:22:42Z</updated>
<author>
<name>Denis Cheng</name>
<email>crquan@gmail.com</email>
</author>
<published>2008-02-08T12:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=922f9cfa79b52c85b6002d96cb0eefd13437c58c'/>
<id>urn:sha1:922f9cfa79b52c85b6002d96cb0eefd13437c58c</id>
<content type='text'>
There is an outdated comment in serial_core.c also fixed.

Signed-off-by: Denis Cheng &lt;crquan@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Kobject: rename kobject_init_ng() to kobject_init()</title>
<updated>2008-01-25T04:40:38Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2007-12-18T06:05:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f9cb074bff8e762ef24c44678a5a7d907f82fbeb'/>
<id>urn:sha1:f9cb074bff8e762ef24c44678a5a7d907f82fbeb</id>
<content type='text'>
Now that the old kobject_init() function is gone, rename
kobject_init_ng() to kobject_init() to clean up the namespace.

Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Kobject: convert fs/char_dev.c to use kobject_init/add_ng()</title>
<updated>2008-01-25T04:40:31Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2007-12-18T06:05:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a5815ddf26aa8208d4ad79b4fba5e6bf7d5ba688'/>
<id>urn:sha1:a5815ddf26aa8208d4ad79b4fba5e6bf7d5ba688</id>
<content type='text'>
This converts the code to use the new kobject functions, cleaning up the
logic in doing so.

Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>mm: bdi init hooks</title>
<updated>2007-10-17T15:42:45Z</updated>
<author>
<name>Peter Zijlstra</name>
<email>a.p.zijlstra@chello.nl</email>
</author>
<published>2007-10-17T06:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e0bf68ddec4f4f90e5871404be4f1854c17f3120'/>
<id>urn:sha1:e0bf68ddec4f4f90e5871404be4f1854c17f3120</id>
<content type='text'>
provide BDI constructor/destructor hooks

[akpm@linux-foundation.org: compile fix]
Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>unregister_chrdev() return void</title>
<updated>2007-07-19T17:04:43Z</updated>
<author>
<name>Akinobu Mita</name>
<email>akinobu.mita@gmail.com</email>
</author>
<published>2007-07-19T08:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e53252d97e670a38b1d2e9723b48077bba11ddda'/>
<id>urn:sha1:e53252d97e670a38b1d2e9723b48077bba11ddda</id>
<content type='text'>
unregister_chrdev() does not return meaningful value.  This patch makes it
return void like most unregister_* functions.

Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
