Read the partition file from the vpnor.

This fix reads the file from the partition,
Memory map to it and then copy the asked memory
area to the reserved memory area.

Change-Id: I4b2987e628bc4820edfeb1b0a81e5d1cbb8e7cf1
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/pnor_partition.cpp b/pnor_partition.cpp
index 3f4fd02..015a951 100644
--- a/pnor_partition.cpp
+++ b/pnor_partition.cpp
@@ -91,7 +91,6 @@
                                                   uint32_t offset)
 {
     std::string path = getPartitionFilePath(context, offset);
-
     ReturnCode rc = Request::open(path, O_RDONLY);
     if (rc == ReturnCode::SUCCESS)
     {
@@ -111,6 +110,7 @@
     }
 
     MSG_DBG("Couldn't open the file[%s]", path.c_str());
+
     // we don't get the file in the respective partition(RW/PSRV)
     // try to open it from RO location.