diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2010-02-12 10:10:55 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-02-12 10:16:14 +0000 |
commit | 07ccb7bf2c928fef4fea2cda69ba2e23479578db (patch) | |
tree | 6aee126126d3a1245b5b9f79abe2101098392187 /fs/udf/namei.c | |
parent | 0e5a9fb0426108d750c97c25b1ab04d3768b5aff (diff) | |
download | kernel_samsung_crespo-07ccb7bf2c928fef4fea2cda69ba2e23479578db.zip kernel_samsung_crespo-07ccb7bf2c928fef4fea2cda69ba2e23479578db.tar.gz kernel_samsung_crespo-07ccb7bf2c928fef4fea2cda69ba2e23479578db.tar.bz2 |
GFS2: Fix bmap allocation corner-case bug
This patch solves a corner case during allocation which occurs if both
metadata (indirect) and data blocks are required but there is an
obstacle in the filesystem (e.g. a resource group header or another
allocated block) such that when the allocation is requested only
enough blocks for the metadata are returned.
By changing the exit condition of this loop, we ensure that a
minimum of one data block will always be returned.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/udf/namei.c')
0 files changed, 0 insertions, 0 deletions