Re: [PATCH -next 0/3] cleanup of devtmpfs_*_node()

From: Greg KH
Date: Fri Feb 10 2023 - 03:17:22 EST


On Fri, Feb 10, 2023 at 07:33:06AM +0000, Longlong Xia wrote:
> The test steps:
> 1. Set the SElinux label of /dev to user_home_t
> 2. modprobe zram num_devices=1000
>
> The above test result is that there is no zram device was found in the
> /dev. And don't see any errors printed in jouranls/dmesg. Of course,
> it is rare to create 1000 zram devices, use dev_err may be better.
>
> Longlong Xia (3):
> devtmpfs: add debug info to handle()
> driver core: add error handling for devtmpfs_create_node()
> devtmpfs: remove return value of devtmpfs_delete_node()
>
> drivers/base/base.h | 4 ++--
> drivers/base/core.c | 8 ++++++--
> drivers/base/devtmpfs.c | 20 ++++++++++++++------
> 3 files changed, 22 insertions(+), 10 deletions(-)
>
> Best Regards,
> Longlong Xia

This is a v2 series, please mark them as such, saying what changed from
the previous submission. Otherwise our tools get totally confused and I
can not apply them.

Also just send it as a new thread, don't reply to the old one, there's
no need for making it that complex.

thanks,

greg k-h