7// TODO: last sdk 3.1.0 has PFS module with significant changes.
8// Check what was changed, and maybe port changes.
9// Note: PFS version the same: 2.2
10// CRC32: 98E62276
11#define PFS_MAJOR 2
12#define PFS_MINOR 2
13
14#ifdef PFS_POSIX_VER
15#define PFS_IOCTL2_INC_CHECKSUM 1
16#define PFS_STAT_RETURN_INODE_LBA 1
17#else
18#ifdef PFS_XOSD_VER
19#define PFS_OSD_VER 1
20#define PFS_SUPPORT_BHDD 1
21#endif
22
23/* Define PFS_OSD_VER in your Makefile to build an OSD version, which will:
24 1. Enable the PIOCINVINODE IOCTL2 function.
25 2. (Unofficial) Return the LBA of the inode in private_5 and sub number in private_4 fields of the stat structure (returned by getstat and dread). */