Added res value in rddata_t struct to store result of file operation.
Added interface to kernel implementation of file operations