diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-09 20:21:53 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-10 20:51:05 -0400 |
commit | 7afb42226a8eaa9ae3f6b9917ffb16902358e749 (patch) | |
tree | c5f75a6297cdb6d4f7e753a2a7849bcb8d1f6237 /drivers/ata/ahci.c | |
parent | 70d562cf7853ea1bb53c1007075c5df958f11c90 (diff) | |
download | lwn-7afb42226a8eaa9ae3f6b9917ffb16902358e749.tar.gz lwn-7afb42226a8eaa9ae3f6b9917ffb16902358e749.zip |
libata: don't allow sysfs read access to force param
Buffer for force param is deallocated after initialization, so trying
to read it via sysfs results in oops. Don't allow read access to the
param node.
Spotted by Eric Sesterhenn.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions