-
由 Paul Durrant 提交于
To prevent a PV driver module being removed whilst attached to its other end, and hence xenbus calling into potentially invalid text, take a reference on the module before calling the probe() method (dropping it if unsuccessful) and drop the reference after returning from the remove() method. Suggested-by: NJan Beulich <jbeulich@suse.com> Signed-off-by: NPaul Durrant <pdurrant@amazon.com> Reviewed-by: NJan Beulich <jbeulich@suse.com> Reviewed-by: NJuergen Gross <jgross@suse.com> Signed-off-by: NJuergen Gross <jgross@suse.com>
196748a2