diff options
| author | Benjamin Marzinski <[email protected]> | 2011-03-11 06:49:09 +0000 |
|---|---|---|
| committer | Steven Whitehouse <[email protected]> | 2011-03-11 09:26:48 +0000 |
| commit | e4a7b7b0c98efcdcc4c1f6eb10925dec1fbc4016 (patch) | |
| tree | 72b28371e1e0397a1fb39c103d2062593e3a3a24 /scripts/selinux/genheaders/genheaders.c | |
| parent | GFS2: Optimize glock multiple-dequeue code (diff) | |
| download | kernel-e4a7b7b0c98efcdcc4c1f6eb10925dec1fbc4016.tar.gz kernel-e4a7b7b0c98efcdcc4c1f6eb10925dec1fbc4016.zip | |
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 <[email protected]>
Signed-off-by: Steven Whitehouse <[email protected]>
Diffstat (limited to 'scripts/selinux/genheaders/genheaders.c')
0 files changed, 0 insertions, 0 deletions
