From: Dan Williams Date: Tue, 30 Dec 2014 22:46:14 +0000 (-0800) Subject: ses: close potential registration race X-Git-Tag: fixes-v4.0-rc1~143^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed09dcc8bd7fe0991af7737e675996cbd022f38f;p=pandora-kernel.git ses: close potential registration race The slot and address fields have a small window of instability when userspace can read them before initialization. Separate enclosure_component allocation from registration. Signed-off-by: Dan Williams Signed-off-by: Song Liu Reviewed-by: Jens Axboe Cc: Hannes Reinecke Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed