54
40
(mmp_blk >= fs->super->s_blocks_count))
55
41
return EXT2_ET_MMP_BAD_BLOCK;
71
43
/* ext2fs_open() reserves fd0,1,2 to avoid stdio collision, so checking
72
44
* mmp_fd <= 0 is OK to validate that the fd is valid. This opens its
73
45
* own fd to read the MMP block to ensure that it is using O_DIRECT,