summaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2012-09-12 13:40:31 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2012-09-24 09:47:27 (GMT)
commit3701530aed9711fcfe9b29d3de0f7a27c8dbc8ae (patch)
treec6b5a2228e2f2b205b62ddf50cb38e781d2fd82e /fs/dcache.c
parentff7f4cb461163967a9dbb8c569e2447b7520654f (diff)
downloadlinux-fsl-qoriq-3701530aed9711fcfe9b29d3de0f7a27c8dbc8ae.tar.xz
GFS2: Fix infinite loop in rbm_find
This patch fixes an infinite loop in gfs2_rbm_find that was introduced by the previous patch. The problem occurred when the length was less than 3 but the rbm block was byte-aligned, causing it to improperly return a extent length of zero, which caused it to spin. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com> Tested-by: Bob Peterson <rpeterso@redhat.com> Tested-by: Barry Marson <bmarson@redhat.com>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions