commit | 98af4d4df889dcea3bc0ce6b8a04759658ba8826 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Fri Sep 28 08:17:22 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 28 08:30:32 2018 -0600 |
tree | 77afbbedbf6d4d12d69a69975b3173add3eab46f | |
parent | 95cf7809bf9169fec4e4b7bb24b8069d8f354f96 [diff] |
zram: register default groups with device_add_disk() Register default sysfs groups during device_add_disk() to avoid a race condition with udev during startup. Signed-off-by: Hannes Reinecke <hare@suse.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>