From: Eric Sandeen <sandeen@sandeen.net>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: [PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
Date: Wed, 03 Jan 2007 17:21:47 -0600 [thread overview]
Message-ID: <459C3A8B.4040206@sandeen.net> (raw)
In-Reply-To: <20070104101423.06bdd664.sfr@canb.auug.org.au>
Stephen Rothwell wrote:
> Hi Eric,
>
> On Wed, 03 Jan 2007 12:42:47 -0600 Eric Sandeen <sandeen@sandeen.net> wrote:
>> So here's the first stab at fixing it. I'm sure there are style points
>> to be hashed out. Putting all the functions as static inlines in a header
>> was just to avoid hundreds of lines of simple function declarations before
>> we get to the meat of bad_inode.c, but it's probably technically wrong to
>> put it in a header. Also if putting a copyright on that trivial header file
>> is going overboard, just let me know. Or if anyone has a less verbose
>> but still correct way to address this problem, I'm all ears.
>
> Since the only uses of these functions is to take their addresses, the
> inline gains you nothing
Hm, yes of course... my fingers just automatically type "static inline"
in header files I guess. :)
> and since the only uses are in the one file, you
> should just define them in that file.
Ok, will do. That seems to be the consensus.
Thanks,
-Eric
prev parent reply other threads:[~2007-01-03 23:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 18:42 [PATCH] fix memory corruption from misinterpreted bad_inode_ops return values Eric Sandeen
2007-01-03 23:14 ` Stephen Rothwell
2007-01-03 23:21 ` Eric Sandeen [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=459C3A8B.4040206@sandeen.net \
--to=sandeen@sandeen.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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