Re: [PATCH 3/6] vfs: open_exec cleanup
authorChristoph Hellwig <hch@lst.de>
Mon, 19 May 2008 05:53:34 +0000 (07:53 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:29 +0000 (20:53 -0400)
commite56b6a5dda1a36ffaa532df6f975ea324298fa4d
tree700077a8ea298076d1a90e581ea577f4ad27d2dd
parentbeb29e058c35ab69e96e455a12ccf7505f6de425
Re: [PATCH 3/6] vfs: open_exec cleanup

On Mon, May 19, 2008 at 12:01:49AM +0200, Marcin Slusarz wrote:
> open_exec is needlessly indented, calls ERR_PTR with 0 argument
> (which is not valid errno) and jumps into middle of function
> just to return value.
> So clean it up a bit.

Still looks rather messy.  See below for a better version.

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