]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit755e4ca4a9885b79a14169ab5b615920eb38a32a
treedf85b5a5f16f25db7f6d106c69f4ddb10b9f1880
parent254abfd33a214617deb916585b306faee834c97f
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