commit | d2b47cfb26fe06002b8011707baac71a9ae8166f | [log] [tgz] |
---|---|---|
author | Bob Peterson <rpeterso@redhat.com> | Fri Feb 01 12:03:02 2013 -0500 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Fri Feb 01 20:37:33 2013 +0000 |
tree | be4f83991b3945536e5cb336cba3b47262ff633d | |
parent | 4506a519f2a76775e6c236f44d50e9f79a7d3434 [diff] |
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>