Re: [PATCH] md: get sysfs entry after redundancy attr group create

2020-08-05 Thread Song Liu
On Tue, Aug 4, 2020 at 5:29 PM Junxiao Bi wrote: > > "sync_completed" and "degraded" belongs to redundancy attr group, > it was not exist yet when md device was created. > > Reported-by: kernel test robot > Fixes: e1a86dbbbd6a ("md: fix deadlock causing by sysfs_notify") > Signed-off-by: Junxiao

[PATCH] md: get sysfs entry after redundancy attr group create

2020-08-04 Thread Junxiao Bi
"sync_completed" and "degraded" belongs to redundancy attr group, it was not exist yet when md device was created. Reported-by: kernel test robot Fixes: e1a86dbbbd6a ("md: fix deadlock causing by sysfs_notify") Signed-off-by: Junxiao Bi --- drivers/md/md.c | 17 ++--- 1 file changed