commit | e7432675f8ca868a4af365759a8d4c3779a3d922 | [log] [tgz] |
---|---|---|
author | Sunil Mushran <sunil.mushran@oracle.com> | Thu Aug 06 16:12:58 2009 -0700 |
committer | Joel Becker <joel.becker@oracle.com> | Fri Aug 07 13:16:23 2009 -0700 |
tree | 238d57e12fae632c9baeca98ddec701b3391ff29 | |
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>