From: Jan Kara Date: Thu, 13 May 2010 16:05:15 +0000 (+0200) Subject: ocfs2: Fix NULL pointer deref when writing local dquot X-Git-Tag: v2.6.35-rc1~455^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=741e128933448e589a85286e535078b24f4cf568;p=pandora-kernel.git ocfs2: Fix NULL pointer deref when writing local dquot commit_dqblk() can write quota info to global file. That is actually a bad thing to do because if we are just modifying local quota file, we are not prepared (do not hold proper locks, do not have transaction credits) to do a modification of the global quota file. So do not use commit_dqblk() and instead call our writing function directly. Acked-by: Joel Becker Signed-off-by: Jan Kara --- Reading git-diff-tree failed