diff options
author | Bob Peterson <rpeterso@redhat.com> | 2013-02-01 12:03:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-27 09:21:11 -0800 |
commit | 496064cd2a5ec740671a522e5fa154ce91dfb012 (patch) | |
tree | 3fb128c55a447c322e0f8a7596b0de5a6c009987 /kernel/gcov/gcov.h | |
parent | a56de15779ba561c66c9fa04e6339f9a044b2001 (diff) |
GFS2: Get a block reservation before resizing a file
commit d2b47cfb26fe06002b8011707baac71a9ae8166f upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions