param: simple locking for sysfs-writable charp parameters
Since the writing to sysfs can free the old one, we need to block that when we access the charp variables. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Takashi Iwai <tiwai@suse.de> Tested-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Cc: Jeff Dike <jdike@addtoit.com> Cc: Dan Williams <dcbw@redhat.com> Cc: John W. Linville <linville@tuxdriver.com> Cc: Jing Huang <huangj@brocade.com> Cc: James E.J. Bottomley <James.Bottomley@suse.de> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: David S. Miller <davem@davemloft.net> Cc: user-mode-linux-devel@lists.sourceforge.net Cc: libertas-dev@lists.infradead.org Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Cc: linux-scsi@vger.kernel.org Cc: linux-usb@vger.kernel.org
Showing
- arch/um/drivers/hostaudio_kern.c 10 additions, 0 deletionsarch/um/drivers/hostaudio_kern.c
- drivers/net/wireless/libertas/if_usb.c 3 additions, 0 deletionsdrivers/net/wireless/libertas/if_usb.c
- drivers/net/wireless/libertas_tf/if_usb.c 3 additions, 0 deletionsdrivers/net/wireless/libertas_tf/if_usb.c
- drivers/scsi/bfa/bfad.c 2 additions, 0 deletionsdrivers/scsi/bfa/bfad.c
- drivers/usb/atm/ueagle-atm.c 2 additions, 0 deletionsdrivers/usb/atm/ueagle-atm.c
- drivers/video/vt8623fb.c 2 additions, 0 deletionsdrivers/video/vt8623fb.c
- net/mac80211/rate.c 2 additions, 0 deletionsnet/mac80211/rate.c
Loading
Please register or sign in to comment