lkml.org 
[lkml]   [2014]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] sysfs: fix namespace refcnt leak
On Tue, Feb 25, 2014 at 07:28:44PM +0800, Li Zefan wrote:
> As mount() and kill_sb() is not a one-to-one match, we shoudn't get
> ns refcnt unconditionally in sysfs_mount(), and instead we should
> get the refcnt only when kernfs_mount() allocated a new superblock.
>
> v2:
> - Changed the name of the new argument, suggested by Tejun.
> - Made the argument optional, suggested by Tejun.
>
> v3:
> - Make the new argument as second-to-last arg, suggested by Tejun.
>
> Reviewed-by: Tejun Heo <tj@kernel.org>
> Signed-off-by: Li Zefan <lizefan@huawei.com>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks!

--
tejun


\
 
 \ /
  Last update: 2014-02-25 17:41    [W:0.167 / U:3.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site