9
0
Fork 0
barebox/fs
Sascha Hauer 831be2ecee lseek: return -1 instead of -errno
The patch making errno a positive value has another bug:
lseek was switched to return -errno instead of -1. This does not
work since we can lseek we can address the whole 4G address space,
have of which has a negative offset when interpreted as a signed
integer. Let lseek return -1 on failure again instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-18 11:19:04 +02:00
..
cramfs fs: get fs device using container_of 2012-02-25 14:03:56 +01:00
fat FAT: Fix error path 2012-03-18 15:03:31 +01:00
Kconfig fs: Add NFS support 2012-05-14 08:36:03 +02:00
Makefile fs: Add NFS support 2012-05-14 08:36:03 +02:00
devfs-core.c complete: add delpart complete support 2012-04-30 20:37:40 +08:00
devfs.c fs: get fs device using container_of 2012-02-25 14:03:56 +01:00
fs.c lseek: return -1 instead of -errno 2012-05-18 11:19:04 +02:00
nfs.c fs: Add NFS support 2012-05-14 08:36:03 +02:00
ramfs.c ramfs: rember last accessed chunk 2012-05-16 13:20:09 +02:00
tftp.c fs tftp: use resolv to resolv ip address 2012-04-15 16:26:07 +02:00