11// TODO: last sdk 3.1.0 has PFS module with significant changes.
12// Check what was changed, and maybe port changes.
13// Note: PFS version the same: 2.2
14// CRC32: 98E62276
15#define PFS_MAJOR 2
16#define PFS_MINOR 2
17
18#ifdef PFS_POSIX_VER
19#define PFS_IOCTL2_INC_CHECKSUM 1
20#define PFS_STAT_RETURN_INODE_LBA 1
21#else
22#ifdef PFS_XOSD_VER
23#define PFS_OSD_VER 1
24#define PFS_SUPPORT_BHDD 1
25#endif
26
27/* Define PFS_OSD_VER in your Makefile to build an OSD version, which will:
28 1. Enable the PIOCINVINODE IOCTL2 function.
29 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). */