diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2009-08-06 19:12:58 -0400 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-08-07 16:16:23 -0400 |
commit | e7432675f8ca868a4af365759a8d4c3779a3d922 (patch) | |
tree | 238d57e12fae632c9baeca98ddec701b3391ff29 /fs/ocfs2/stack_o2cb.c | |
parent | ab57a40827d99e2d8e59066a56b93bf6c844c916 (diff) |
ocfs2: Initialize the cluster we're writing to in a non-sparse extend
In a non-sparse extend, we correctly allocate (and zero) the clusters between
the old_i_size and pos, but we don't zero the portions of the cluster we're
writing to outside of pos<->len.
It handles clustersize > pagesize and blocksize < pagesize.
[Cleaned up by Joel Becker.]
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/stack_o2cb.c')
0 files changed, 0 insertions, 0 deletions