GFS2: Get a block reservation before resizing a file
authorBob Peterson <rpeterso@redhat.com>
Fri, 1 Feb 2013 17:03:02 +0000 (12:03 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 1 Feb 2013 20:37:33 +0000 (20:37 +0000)
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>

No differences found