Re: [PATCH] f2fs:avoid creaing multi debugfs when mount more disks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]

>  void f2fs_destroy_stats(struct f2fs_sb_info *sbi)
>  {
>  	struct f2fs_stat_info *si = sbi->stat_info;
> @@ -354,7 +339,15 @@ void f2fs_destroy_stats(struct f2fs_sb_info *sbi)
>  	kfree(sbi->stat_info);
>  }
> 
> -void destroy_root_stats(void)
> +void __init f2fs_create_root_stats(void)

We don't need to add __init here, right?
Anyway, this patch looks much better to me.

Jianpeng, how do you think about this?

-- 
Jaegeuk Kim
Samsung

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux