From: nick <xerofoify@gmail.com>
To: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [PATCH] f2fs:Make the function check_dnode have a return type of bool
Date: Tue, 30 Jun 2015 20:56:17 -0400 [thread overview]
Message-ID: <55933AB1.1050002@gmail.com> (raw)
In-Reply-To: <20150701005037.GA1496@jaegeuk-mac02.mot.com>
On 2015-06-30 08:50 PM, Jaegeuk Kim wrote:
> Hi,
>
> On Mon, Jun 29, 2015 at 04:07:01PM -0400, Nicholas Krause wrote:
>> This makes the function check_dnode have a return type of bool
>> due to this particular function only ever returning either one
>> or zero as its return value.
>>
>> Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
>> ---
>> fs/f2fs/gc.c | 10 +++++-----
>> 1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
>> index e1e7361..ebd4c6c 100644
>> --- a/fs/f2fs/gc.c
>> +++ b/fs/f2fs/gc.c
>> @@ -487,7 +487,7 @@ block_t start_bidx_of_node(unsigned int node_ofs, struct f2fs_inode_info *fi)
>> return bidx * ADDRS_PER_BLOCK + ADDRS_PER_INODE(fi);
>> }
>>
>> -static int check_dnode(struct f2fs_sb_info *sbi, struct f2fs_summary *sum,
>> +static bool check_dnode(struct f2fs_sb_info *sbi, struct f2fs_summary *sum,
>
> Then, what about bool is_data_alive() ?
>
> Thanks,
>
There is no function of this name in my searching with either lxr or cscope.
Either my tools aren't finding it or the function you are requesting I make
bool has been removed.
Nick
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
next prev parent reply other threads:[~2015-07-01 0:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 20:07 [PATCH] f2fs:Make the function check_dnode have a return type of bool Nicholas Krause
2015-07-01 0:50 ` Jaegeuk Kim
2015-07-01 0:56 ` nick [this message]
2015-07-01 1:08 ` Jaegeuk Kim
2015-07-01 1:14 ` nick
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=55933AB1.1050002@gmail.com \
--to=xerofoify@gmail.com \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).