linux_dsm_epyc7002/fs/ubifs
Artem Bityutskiy 04da11bfcf UBIFS: fix zero-length truncations
Always allow truncations to zero, even if budgeting thinks there
is no space. UBIFS reserves some space for deletions anyway.

Otherwise, the following happans:
1. create a file, and write as much as possible there, until ENOSPC
2. truncate the file, which fails with ENOSPC, which is not good.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-08-21 16:48:52 +03:00
..
budget.c UBIFS: correct spelling of "thrice". 2008-08-13 11:39:20 +03:00
commit.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
compress.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
debug.c UBIFS: print pid in dump function 2008-08-13 11:35:58 +03:00
debug.h UBIFS: improve arguments checking in debugging messages 2008-08-13 11:42:47 +03:00
dir.c UBIFS: fix zero-length truncations 2008-08-21 16:48:52 +03:00
file.c UBIFS: fix zero-length truncations 2008-08-21 16:48:52 +03:00
find.c UBIFS: correct spelling of "thrice". 2008-08-13 11:39:20 +03:00
gc.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
io.c UBIFS: make ubifs_ro_mode() not inline 2008-08-13 11:24:26 +03:00
ioctl.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
journal.c UBIFS: xattr bugfixes 2008-08-14 12:46:20 +03:00
Kconfig UBIFS: include to compilation 2008-07-15 17:35:24 +03:00
key.h UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
log.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
lprops.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
lpt_commit.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
lpt.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
Makefile UBIFS: include to compilation 2008-07-15 17:35:24 +03:00
master.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
misc.h UBIFS: reserve more space for index 2008-08-13 11:37:28 +03:00
orphan.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
recovery.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
replay.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
sb.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
scan.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
shrinker.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
super.c UBIFS: few commentary fixes 2008-08-13 18:59:02 +03:00
tnc_commit.c UBIFS: minor tweaks in commit 2008-08-13 11:38:19 +03:00
tnc_misc.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
tnc.c UBIFS: add new flash file system 2008-07-15 17:35:15 +03:00
ubifs-media.h UBIFS: reserve more space for index 2008-08-13 11:37:28 +03:00
ubifs.h UBIFS: few commentary fixes 2008-08-13 18:59:02 +03:00
xattr.c UBIFS: xattr bugfixes 2008-08-14 12:46:20 +03:00