diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2009-08-06 16:12:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-08 20:17:43 -0700 |
commit | 8338941200d9188e3c866dd16cc2848754947895 (patch) | |
tree | ff8020af394dfe073fbf2a22681311605bfb9a4e /fs/proc/proc_tty.c | |
parent | 7e8287379470a7c18153be389c9516e31ae141f3 (diff) |
ocfs2: Initialize the cluster we're writing to in a non-sparse extend
commit e7432675f8ca868a4af365759a8d4c3779a3d922 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/proc/proc_tty.c')
0 files changed, 0 insertions, 0 deletions