public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Knutsson <ricknu-0@student.ltu.se>
To: Dave Kleikamp <shaggy@austin.ibm.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org, hch@infradead.org
Subject: Re: [PATCH 2.6.18-rc4-mm2] fs/jfs: Conversion to generic boolean
Date: Mon, 28 Aug 2006 22:42:31 +0200	[thread overview]
Message-ID: <44F35537.6000308@student.ltu.se> (raw)
In-Reply-To: <1156774979.7495.5.camel@kleikamp.austin.ibm.com>

Dave Kleikamp wrote:

>On Sat, 2006-08-26 at 19:37 +0200, Richard Knutsson wrote:
>  
>
>>From: Richard Knutsson <ricknu-0@student.ltu.se>
>>
>>Conversion of booleans to: generic-boolean.patch (2006-08-23)
>>
>>Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
>>
>>---
>>
>>Compile-tested
>>
>>
>> inode.c        |    2 +-
>> jfs_dmap.c     |   12 ++++++------
>> jfs_extent.c   |   14 +++++++-------
>> jfs_extent.h   |    4 ++--
>> jfs_imap.c     |   26 +++++++++++++-------------
>> jfs_imap.h     |    4 ++--
>> jfs_metapage.h |    4 ++--
>> jfs_txnmgr.c   |   16 ++++++++--------
>> jfs_types.h    |    4 ----
>> jfs_xtree.c    |    2 +-
>> xattr.c        |   10 +++++-----
>> 11 files changed, 47 insertions(+), 51 deletions(-)
>>    
>>
>
>  
>
>>>>original patch removed <<<
>>>>        
>>>>
>
>Richard,
>Here's a version of the patch with completely removes any boolean types
>and constants:
>
>JFS: Conversion of boolean to int
>  
>
<patch removed>

Just why is it, that when there is a change to make locally defined 
booleans into a more generic one, it is converted into integers? ;)
But seriously, what is gained by removing them, other then less 
understandable code? (Not talking about FALSE -> 0, but boolean_t -> int)

I can understand if authors disprove making an integer into a boolean, 
but here it already were booleans.
But hey, you are the maintainer ;)

Richard Knutsson

  reply	other threads:[~2006-08-28 20:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-26 17:37 [PATCH 2.6.18-rc4-mm2] fs/jfs: Conversion to generic boolean Richard Knutsson
2006-08-28 14:22 ` Dave Kleikamp
2006-08-28 20:42   ` Richard Knutsson [this message]
2006-08-28 21:11     ` Dave Kleikamp
2006-08-28 23:33       ` Richard Knutsson
2006-08-29 12:37         ` Dave Kleikamp
2006-08-29 13:48           ` Richard Knutsson
2006-08-29 13:53             ` Dave Kleikamp

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=44F35537.6000308@student.ltu.se \
    --to=ricknu-0@student.ltu.se \
    --cc=akpm@osdl.org \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaggy@austin.ibm.com \
    /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