]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipath: fix race with exposing reset file
authorBryan O'Sullivan <bos@pathscale.com>
Mon, 24 Apr 2006 21:22:57 +0000 (14:22 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 1 May 2006 19:14:11 +0000 (12:14 -0700)
commitc6c51f5d898d040c69fdfe080bcf9c6188c54403
treedf85b5a5f16f25db7f6d106c69f4ddb10b9f1880
parentb3e662ea0dcbc4be6c96f61e149b8b2c727c3eea
IB/ipath: fix race with exposing reset file

We were accidentally exposing the "reset" sysfs file more than once
per device.

Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_diag.c
drivers/infiniband/hw/ipath/ipath_sysfs.c