Files
linux/fs
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
..
2008-07-03 09:59:03 -05:00
2008-07-26 20:53:40 -04:00
2008-08-04 21:31:34 -07:00
2008-07-24 10:47:33 -07:00
2008-08-20 15:40:32 -07:00
2008-08-01 11:25:29 -04:00
2008-08-13 12:47:36 -05:00
2008-07-26 20:53:40 -04:00
2008-07-26 20:53:40 -04:00
2008-07-25 10:53:34 -07:00
…
2008-08-04 21:56:09 -07:00
2008-07-04 09:52:14 +02:00
2008-07-26 12:00:07 -07:00
2008-08-21 16:48:52 +03:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-07-26 12:00:08 -07:00
2008-08-06 12:30:04 +02:00
2008-08-04 21:56:09 -07:00
2008-07-26 12:00:06 -07:00
2008-05-01 13:08:16 -04:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:40 -04:00
2008-07-14 19:10:52 +03:00
…
…
2008-07-26 12:00:05 -07:00
2008-07-28 18:10:28 +09:00
2008-07-26 12:00:05 -07:00
…
…
…
…
2008-07-25 10:53:35 -07:00
2008-07-02 15:06:27 -06:00
…
2008-08-04 21:31:34 -07:00
…