Re: [PATCH 25/20] sysfs: Only support removing emtpy sysfs directories.

From: Hannes Reinecke
Date: Fri May 29 2009 - 08:33:10 EST


This is a multi-part message in MIME format.Hi Alan,

> And besides, in the patch I'm working on it isn't called from either of
> those places -- it's called from __scsi_remove_device(). So I'll go
> ahead and get rid of scsi_target_reap_usercontext().
>
And just for reference, here is my patchset I've created sometime ago
which streamlines the sdev and starget lifetime. I think I've tried
to send it upstream at one point but never got far with it.
Be aware that it's relative to a rather git tree (2.6.22?) so
it might not apply properly. But it's mainly to get you an idea
of what I've done so far.

And would have continued pushing it if real life hadn't interfered ...

HTH.

Cheers,

Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@xxxxxxx +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)