Fix some bugs in mtd/jffs2 on 64bit platform. The MEMGETBADBLOCK/MEMSETBADBLOCK ioctl are not listed in compat_ioctl.h. And some variables in jffs2 are declared as uint32_t but used to hold size_t values.
Showing the changes to include (1 of 3 files). Show all
Unified · Split
| @@ -696,6 +696,8 @@ COMPATIBLE_IOCTL(MEMLOCK) · 695 unmodified lines | ||
| 696 | 696 | COMPATIBLE_IOCTL(MEMUNLOCK) |
| 697 | 697 | COMPATIBLE_IOCTL(MEMGETREGIONCOUNT) |
| 698 | 698 | COMPATIBLE_IOCTL(MEMGETREGIONINFO) |
| 699 | +COMPATIBLE_IOCTL(MEMGETBADBLOCK) | |
| 700 | +COMPATIBLE_IOCTL(MEMSETBADBLOCK) | |
| 699 | 701 | /* NBD */ |
| 700 | 702 | ULONG_IOCTL(NBD_SET_SOCK) |
| 701 | 703 | ULONG_IOCTL(NBD_SET_BLKSIZE) |