linux/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
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
io.c UBIFS: make ubifs_ro_mode() not inline 2008-08-13 11:24:26 +03:00
ioctl.c
journal.c UBIFS: xattr bugfixes 2008-08-14 12:46:20 +03:00
Kconfig
key.h
log.c UBIFS: increment commit number earlier 2008-08-13 11:27:47 +03:00
lprops.c
lpt.c
lpt_commit.c
Makefile
master.c
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
replay.c
sb.c
scan.c
shrinker.c
super.c UBIFS: few commentary fixes 2008-08-13 18:59:02 +03:00
tnc.c
tnc_commit.c UBIFS: minor tweaks in commit 2008-08-13 11:38:19 +03:00
tnc_misc.c
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