mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] Symlink /sys/class/block to /sys/block (fwd)
@ 2005-02-23  9:47 Malcolm Rowe
  0 siblings, 0 replies; only message in thread
From: Malcolm Rowe @ 2005-02-23  9:47 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

Greg KH writes: 

>> Following the discussion in [1], the attached patch creates /sys/class/block
>> as a symlink to /sys/block. The patch applies to 2.6.11-rc4-bk7.   
>> 
>> Please cc: me on any replies - I'm not subscribed to the mailing list. 
> Hm, your patch is linewrapped, and can't be applied :(

Bah, and I did send it to myself first, but I guess my mailer un-flowed it 
for me :-(.  I'll try to find a better mailer. 

> But more importantly:
>> static void disk_release(struct kobject * kobj)
> 
> Did you try to remove a disk (like a usb device) and see what happens
> here?  Hint, this isn't the proper place to remove the symlink...

Er, yeah. Oops. 

*Is* there a sensible place to remove the symlink from, though?  Nobody 
seems to call subsystem_unregister(&block_subsys), which is the place I'd 
expect to add a call to, and I can't see anything that's otherwise 
obvious... 

Regards,
Malcolm 

[resent using the right address for linux-kernel. Sorry for the duplicate, 
Greg]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-23  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23  9:47 [PATCH] Symlink /sys/class/block to /sys/block (fwd) Malcolm Rowe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®