9
0
Fork 0
barebox/fs
Sascha Hauer 42cb98c6ae fs: ignore O_TRUNC open flag for devices
The O_TRUNC flag has to be ignored when opening devices. Otherwise
cp /somefile /dev/somedev fails. This is broken since:

| commit d4f5bb1e01
| Author: Sascha Hauer <s.hauer@pengutronix.de>
| Date:   Sat Sep 28 13:12:50 2013 +0200
|
|     copy_file: Add missing O_TRUNC
|
|     Without it, when copying a smaller file over a larger file the
|     resulting file still has the remaining space from the larger file.
|
|     Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-10-16 10:59:25 +02:00
..
cramfs fs: cleanup backingstore handling 2013-09-29 12:11:14 +02:00
ext4 fs: cleanup backingstore handling 2013-09-29 12:11:14 +02:00
fat fs: cleanup backingstore handling 2013-09-29 12:11:14 +02:00
ubifs fs: cleanup backingstore handling 2013-09-29 12:11:14 +02:00
Kconfig Merge branch 'for-next/fs' 2013-10-07 07:59:42 +02:00
Makefile Merge branch 'for-next/fs' 2013-10-07 07:59:42 +02:00
bpkfs.c fs: add BPKFS support 2013-10-06 13:31:55 +02:00
devfs-core.c cdev: add device_find_partition 2013-07-15 11:16:14 +02:00
devfs.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
fs.c fs: ignore O_TRUNC open flag for devices 2013-10-16 10:59:25 +02:00
nfs.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
omap4_usbbootfs.c omap4: add filesystem support over usb boot 2012-11-16 15:32:31 +01:00
ramfs.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
tftp.c fs: tftp: don't duplicate timeout information 2013-08-12 08:00:36 +02:00
uimagefs.c Merge branch 'for-next/fs' 2013-10-07 07:59:42 +02:00