Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/FileJournal: Tune the judge logic for read_header.
When reading journal-header, it should firstly check the result of pread and then do decoce operation. Signed-off-by: Ma Jianpeng <jianpeng.ma@intel.com>
- Loading branch information