commit | 7afb42226a8eaa9ae3f6b9917ffb16902358e749 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sun Mar 09 20:21:53 2008 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Mon Mar 10 20:51:05 2008 -0400 |
tree | c5f75a6297cdb6d4f7e753a2a7849bcb8d1f6237 | |
parent | 70d562cf7853ea1bb53c1007075c5df958f11c90 [diff] |
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>