added missing signal to VoidFs

parent 38fd830f
...@@ -104,6 +104,7 @@ protected: ...@@ -104,6 +104,7 @@ protected:
BLOCK_DEFINES(VoidFs); BLOCK_DEFINES(VoidFs);
// The signal processing functions // The signal processing functions
void execREAD_CONFIG_REQ(Signal* signal);
void execDUMP_STATE_ORD(Signal* signal); void execDUMP_STATE_ORD(Signal* signal);
void execFSOPENREQ(Signal* signal); void execFSOPENREQ(Signal* signal);
void execFSCLOSEREQ(Signal* signal); void execFSCLOSEREQ(Signal* signal);
......
...@@ -44,6 +44,7 @@ VoidFs::VoidFs(const Configuration & conf) : ...@@ -44,6 +44,7 @@ VoidFs::VoidFs(const Configuration & conf) :
BLOCK_CONSTRUCTOR(VoidFs); BLOCK_CONSTRUCTOR(VoidFs);
// Set received signals // Set received signals
addRecSignal(GSN_READ_CONFIG_REQ, &VoidFs::execREAD_CONFIG_REQ);
addRecSignal(GSN_DUMP_STATE_ORD, &VoidFs::execDUMP_STATE_ORD); addRecSignal(GSN_DUMP_STATE_ORD, &VoidFs::execDUMP_STATE_ORD);
addRecSignal(GSN_STTOR, &VoidFs::execSTTOR); addRecSignal(GSN_STTOR, &VoidFs::execSTTOR);
addRecSignal(GSN_FSOPENREQ, &VoidFs::execFSOPENREQ); addRecSignal(GSN_FSOPENREQ, &VoidFs::execFSOPENREQ);
...@@ -60,6 +61,21 @@ VoidFs::~VoidFs() ...@@ -60,6 +61,21 @@ VoidFs::~VoidFs()
{ {
} }
void
VoidFs::execREAD_CONFIG_REQ(Signal* signal)
{
const ReadConfigReq * req = (ReadConfigReq*)signal->getDataPtr();
Uint32 ref = req->senderRef;
Uint32 senderData = req->senderData;
ReadConfigConf * conf = (ReadConfigConf*)signal->getDataPtrSend();
conf->senderRef = reference();
conf->senderData = senderData;
sendSignal(ref, GSN_READ_CONFIG_CONF, signal,
ReadConfigConf::SignalLength, JBB);
}
void void
VoidFs::execSTTOR(Signal* signal) VoidFs::execSTTOR(Signal* signal)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment