nuttx/fs
Jukka Laitinen dd2ffbc768 Fixes for GPT partition parsing
1. Don't handle invalid or empty pte entries

num_partition_entries field in GPT typically means number of maximum entries
and not the number of used entries. Empty entries are indentified with
"0" partition type guid. Loop through all the entries

2. Fix the GPT partition size calculation

"ending_lba" is included in the partition, it is not the start of the next one.
Thus the correct size of the partition is end-start+1

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2022-09-27 09:42:39 +08:00
..
aio libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
binfs fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
cromfs fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
driver driver: move find_mtddriver() to fs.h and add close_mtddriver.c 2022-09-09 19:27:57 +08:00
fat fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
hostfs fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
inode fs: Allocate unique serial number for the root pseduo file system node 2022-09-20 16:21:06 +08:00
littlefs Don't download tarballs if a local git repo found 2022-08-28 03:07:58 +08:00
mmap include: fix double include pre-processor guards 2022-01-16 11:11:14 -03:00
mount fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
mqueue poll: add poll_notify() api and call it in all drivers 2022-09-26 12:06:32 +08:00
nfs libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
nxffs libc: Move crc8.h, crc16.h and crc32.h from include to include/nuttx 2022-08-13 13:28:24 +03:00
partition Fixes for GPT partition parsing 2022-09-27 09:42:39 +08:00
procfs fs: procfs: Skip to register for meminfo if the name is NULL 2022-09-01 23:25:53 +02:00
romfs fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
rpmsgfs rpmsgfs/Make.defs: rpmsgfs_server.c given more than once 2022-09-01 11:41:23 +08:00
semaphore libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
shm Kconfig: Remove EXPERIMENTAL for features which is been around a long time 2022-09-19 11:39:22 -03:00
smartfs Fixes to RP2040 SMART flash and documentation 2022-09-06 13:13:00 +08:00
socket fs:oflag need consistent with psock 2022-04-19 13:58:56 +03:00
spiffs libc: Move queue.h from include to include/nuttx 2022-09-26 08:04:58 +02:00
tmpfs fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
unionfs fs/directory: move private directory information to filesystem 2022-08-09 23:30:01 +08:00
userfs Replace all strncpy with strlcpy for safety 2022-08-25 13:38:36 +08:00
vfs vfs/fs_poll: not clear POLLIN event if POLLHUP or POLLERR set 2022-09-27 08:24:33 +09:00
fs_initialize.c fs/rpmsg: Move the server initialization to fs_initialize 2022-08-11 02:08:42 +03:00
Kconfig FS Disable FS_LARGEFILE by default 2022-08-04 22:31:57 +08:00
Makefile fs/directory: use file mode to manage directory 2022-08-09 23:30:01 +08:00