diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2010-03-25 14:32:43 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-03-29 14:29:17 +0100 |
commit | 602c89d2e3e8652f94a697c9a919be739b9bcdd5 (patch) | |
tree | 791c0f4ea2b1f9028f7fdf60dbedd42fa0f8ce06 /fs/gfs2/log.h | |
parent | 4cb947b59c5835783fb96aad2f7d92b1e4250aff (diff) | |
download | linux-602c89d2e3e8652f94a697c9a919be739b9bcdd5.tar.bz2 |
GFS2: Clean up stuffed file copying
If the inode size was corrupt for stuffed files, it was possible
for the copying of data to overrun the block and/or page. This patch
checks for that condition so that this is no longer possible.
This is also preparation for the new truncate sequence patch which
requires the ability to have stuffed files with larger sizes than
(disk block size - sizeof(on disk inode)) with the restriction that
only the initial part of the file may be non-zero.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.h')
0 files changed, 0 insertions, 0 deletions