summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4_jbd2.h
diff options
context:
space:
mode:
authorDan Magenheimer <dan.magenheimer@oracle.com>2012-01-25 22:32:51 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 22:14:12 (GMT)
commit9256a4789be3dae37d00924c03546ba7958ea5a3 (patch)
treeb93a1f8cc641f11fc5da043f8ffb48a40666d84d /fs/ext4/ext4_jbd2.h
parentc5b1247bd1c3ab6722acfa95213be9a16bfb664c (diff)
downloadlinux-fsl-qoriq-9256a4789be3dae37d00924c03546ba7958ea5a3.tar.xz
zcache: fix deadlock condition
I discovered this deadlock condition awhile ago working on RAMster but it affects zcache as well. The list spinlock must be locked prior to the page spinlock and released after. As a result, the page copy must also be done while the locks are held. Applies to 3.2. Konrad, please push (via GregKH?)... this is definitely a bug fix so need not be pushed during a -rc0 window. Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/ext4/ext4_jbd2.h')
0 files changed, 0 insertions, 0 deletions