Whamcloud - gitweb
Mike's fix for the missing exp_connection oops caused us to not remove
authoradilger <adilger>
Fri, 30 Aug 2002 05:16:03 +0000 (05:16 +0000)
committeradilger <adilger>
Fri, 30 Aug 2002 05:16:03 +0000 (05:16 +0000)
commit9b5f4e4d198dcede9d2d16552c8982deb42dfa32
treef7e9b2c9e62232a21bd976b990b8dbc8823ac6c2
parent154b306fcdd5b21872195c2bd8862e17e6f2be1c
Mike's fix for the missing exp_connection oops caused us to not remove
old exports from the export list.

It also seems wrong, somehow, to be using a lock on the ptlrpc connection
to manage items that are linked to the obd_device struct.  It would
probably make more sense to protect the export list with a lock on the
obd_device.  This is doubly true, because class_new_export() is adding
the export to the obd_device without holding any lock, because there is
no ptlrpc_connection there yet.
lustre/obdclass/class_obd.c
lustre/obdclass/genops.c