linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Gu Zheng <guz.fnst@cn.fujitsu.com>
To: jaegeuk.kim@samsung.com
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH] f2fs: Remove the unused argument "sbi" of func destroy_fsync_dnodes()
Date: Thu, 27 Jun 2013 09:12:16 +0800	[thread overview]
Message-ID: <51CB9170.3000507@cn.fujitsu.com> (raw)
In-Reply-To: <1372288918.28480.81.camel@kjgkr>

On 06/27/2013 07:21 AM, Jaegeuk Kim wrote:

> Hi Gu,
> 
> Could you check your email environment?
> I can't merge your patch, since all the indentations consist of white
> spaces.
> And also, please check 80 characters limit per line.
> Thanks,


OK, thanks for your reminder.

Regards,
Gu

> 
> 2013-06-26 (수), 17:58 +0800, Gu Zheng:
>> Destroy_fsync_dnodes() is a simple list-cleanup func, so delete the unused and unrelated f2fs_sb_info argument of it.
>>
>>
>> Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
>> ---
>>  fs/f2fs/recovery.c |    5 ++---
>>  1 files changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
>> index 9db8239..d56d951 100644
>> --- a/fs/f2fs/recovery.c
>> +++ b/fs/f2fs/recovery.c
>> @@ -192,8 +192,7 @@ out:
>>         return err;
>>  }
>>  
>> -static void destroy_fsync_dnodes(struct f2fs_sb_info *sbi,
>> -                                       struct list_head *head)
>> +static void destroy_fsync_dnodes(struct list_head *head)
>>  {
>>         struct fsync_inode_entry *entry, *tmp;
>>  
>> @@ -438,7 +437,7 @@ int recover_fsync_data(struct f2fs_sb_info *sbi)
>>         err = recover_data(sbi, &inode_list, CURSEG_WARM_NODE);
>>         BUG_ON(!list_empty(&inode_list));
>>  out:
>> -       destroy_fsync_dnodes(sbi, &inode_list);
>> +       destroy_fsync_dnodes(&inode_list);
>>         kmem_cache_destroy(fsync_entry_slab);
>>         sbi->por_doing = 0;
>>         if (!err)
> 



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

      reply	other threads:[~2013-06-27  1:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26  9:58 [f2fs-dev] [PATCH] f2fs: Remove the unused argument "sbi" of func destroy_fsync_dnodes() Gu Zheng
2013-06-26 23:21 ` Jaegeuk Kim
2013-06-27  1:12   ` Gu Zheng [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=51CB9170.3000507@cn.fujitsu.com \
    --to=guz.fnst@cn.fujitsu.com \
    --cc=jaegeuk.kim@samsung.com \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    /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).