summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorBob Peterson2013-02-01 18:03:02 +0100
committerSteven Whitehouse2013-02-01 21:37:33 +0100
commitd2b47cfb26fe06002b8011707baac71a9ae8166f (patch)
treebe4f83991b3945536e5cb336cba3b47262ff633d /fs/gfs2/incore.h
parentGFS2: Split glock lru processing into two parts (diff)
downloadkernel-qcow2-linux-d2b47cfb26fe06002b8011707baac71a9ae8166f.tar.gz
kernel-qcow2-linux-d2b47cfb26fe06002b8011707baac71a9ae8166f.tar.xz
kernel-qcow2-linux-d2b47cfb26fe06002b8011707baac71a9ae8166f.zip
GFS2: Get a block reservation before resizing a file
This patch allocates a block reservation structure before growing or shrinking a file. Without this structure, the grow or shink code can reference the bad pointer. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
0 files changed, 0 insertions, 0 deletions