summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBoaz Harrosh2011-08-04 05:44:16 +0200
committerBoaz Harrosh2011-08-04 21:35:25 +0200
commit16f75bb35d54b44356f496272c013f7ace5fa698 (patch)
tree0fbbcf34fbbaed8e2c57ea2f1fd061dcbcd8f511 /samples
parentexofs: Small cleanup of exofs_fill_super (diff)
downloadkernel-qcow2-linux-16f75bb35d54b44356f496272c013f7ace5fa698.tar.gz
kernel-qcow2-linux-16f75bb35d54b44356f496272c013f7ace5fa698.tar.xz
kernel-qcow2-linux-16f75bb35d54b44356f496272c013f7ace5fa698.zip
exofs: Fix truncate for the raid-groups case
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions