lkml.org 
[lkml]   [2018]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 10/32] VFS: Implement a filesystem superblock creation/configuration context [ver #8]
On Tue, Jul 03, 2018 at 10:53:22PM +0100, David Howells wrote:
> - if (s) {
> - up_write(&s->s_umount);
> + if (s)
> destroy_unused_super(s);

static void destroy_unused_super(struct super_block *s)
{
if (!s)
return;
...
}

IOW, all of those should be unconditional.

\
 
 \ /
  Last update: 2018-07-03 23:59    [W:0.389 / U:2.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site