https://github.com/torvalds/linux
Revision 16f75bb35d54b44356f496272c013f7ace5fa698 authored by Boaz Harrosh on 04 August 2011, 03:44:16 UTC, committed by Boaz Harrosh on 04 August 2011, 19:35:25 UTC
In the general raid-group case the truncate was wrong in that
it did not also fix the object length of the neighboring groups.

There are two bad cases in the old code:
1. Space that should be freed was not.
2. If a file That was big is truncated small, then made bigger
   again, the holes would not contain zeros but could expose old data.
   (If the growing of the file expands to more than a full
    groups cycle + group size (> S + T))

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
1 parent 9ce7304
History
Tip revision: 16f75bb35d54b44356f496272c013f7ace5fa698 authored by Boaz Harrosh on 04 August 2011, 03:44:16 UTC
exofs: Fix truncate for the raid-groups case
Tip revision: 16f75bb
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.3 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 190.6 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top