Verified Commit 46fe25b9 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

Refactor adafs internal read/write funciton

 - Added adafs_pwrite and adafs_pread functions:
        they accept an OpenFile pointer instead of a fd so that can be
        called by function that already accessed the OpenFileMap.

 - Moved the writev function into internal adafs functions.

 - Added internal adafs_write function:
        instead messing up with the file position at the interception
        layer, we can use this internal function that hides the update of the
        file position two.
parent 5989e600
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