summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2011-03-11 00:49:09 -0600
committerSteven Whitehouse <swhiteho@redhat.com>2011-03-11 09:26:48 +0000
commite4a7b7b0c98efcdcc4c1f6eb10925dec1fbc4016 (patch)
tree72b28371e1e0397a1fb39c103d2062593e3a3a24 /fs/gfs2/log.c
parentfa1bbdea300a15ec7c1186a5e53de33a5b1672f5 (diff)
downloadop-kernel-dev-e4a7b7b0c98efcdcc4c1f6eb10925dec1fbc4016.zip
op-kernel-dev-e4a7b7b0c98efcdcc4c1f6eb10925dec1fbc4016.tar.gz
GFS2: fix block allocation check for fallocate
GFS2 fallocate wasn't properly checking if a blocks were already allocated. In write_empty_blocks(), if a page didn't have buffer_heads attached, GFS2 was always treating it as if there were no blocks allocated for that page. GFS2 now calls gfs2_block_map() to check if the blocks are allocated before writing them out. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud