[PATCH] tidy up chrdev_open
authorChristoph Hellwig <hch@lst.de>
Mon, 11 Aug 2008 13:34:22 +0000 (15:34 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Oct 2008 09:12:59 +0000 (05:12 -0400)
commita518ab9329041411526ab8e05edfda7e2715244f
treeb615e9ad591b4b7f0ee75ce25e26e1718066192b
parentca30bc99527ab968707bafc09e38807de7e70c4a
[PATCH] tidy up chrdev_open

Use a single goto label for chrdev_put + return error cases.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/char_dev.c