mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Casey Dahlin <cjdahlin@ncsu.edu>
Cc: Linus Torvalds <torvalds@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Readability improvement of open_exec()
Date: Sun, 15 Oct 2006 11:10:39 -0700	[thread overview]
Message-ID: <20061015111039.7fb80045.randy.dunlap@oracle.com> (raw)
In-Reply-To: <1160707333.3230.14.camel@localhost.localdomain>

On Thu, 12 Oct 2006 22:42:13 -0400 Casey Dahlin wrote:

> A fairly trivial patch that simply improves the readability of the
> open_exec() function. It no longer executes primarily inside nested ifs
> or has 5 levels of indentation :) Logically it should be no different
> from the original. Patch applies to stock 2.6.18 kernel.
> 
> 
> Signed-off-by: Casey Dahlin <cjdahlin@ncsu.edu>
> 
> ---
> 
> diff -up exec.c.bak exec.c
> --- exec.c.bak	2006-09-19 23:42:06.000000000 -0400
> +++ exec.c	2006-10-12 21:42:01.000000000 -0400

Please use diff and diffstat as suggested in
Documentation/SubmittingPatches, and do so from the top-level
directory of the kernel source tree, so that the full
path/file names are used in the diff lines.

---
~Randy

      parent reply	other threads:[~2006-10-15 18:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13  2:42 Casey Dahlin
2006-10-13  7:30 ` Christoph Hellwig
2006-10-13 19:41   ` Casey Dahlin
2006-10-15 18:10 ` Randy Dunlap [this message]

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=20061015111039.7fb80045.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=cjdahlin@ncsu.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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®