aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/inode.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2010-03-25 14:32:43 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2010-03-29 14:29:17 +0100
commit602c89d2e3e8652f94a697c9a919be739b9bcdd5 (patch)
tree791c0f4ea2b1f9028f7fdf60dbedd42fa0f8ce06 /fs/gfs2/inode.h
parentGFS2: docs update (diff)
downloadlinux-dev-602c89d2e3e8652f94a697c9a919be739b9bcdd5.tar.xz
linux-dev-602c89d2e3e8652f94a697c9a919be739b9bcdd5.zip
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/inode.h')
0 files changed, 0 insertions, 0 deletions