Re: [PATCH] fs: proc: check status of register_filesystem

From: David Howells
Date: Wed Jan 02 2019 - 04:38:59 EST


Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> > - register_filesystem(&proc_fs_type);
> > + if (register_filesystem(&proc_fs_type))
> > + pr_err("failed to register the filesystem.\n");
>
> No, register_filesystem() should do it.

+1

David