From: Christoph Hellwig Date: Mon, 12 Oct 2009 23:42:10 +0000 (+0000) Subject: xfs: fix double IRELE in xfs_dqrele_inode X-Git-Tag: v2.6.32-rc6~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05277c75f6dea8ecf59138cd1b6781fb54ae08bd;p=pandora-kernel.git xfs: fix double IRELE in xfs_dqrele_inode xfs_dqrele_inode calls xfs_iput to release the ilock and a reference and then also calls IRELE which does a second decrement of the reference count. This leads to a premature freeing of inodes when quotas were turned off while the filesystem was mounted. Thanks to Utako Kusaka for reporting the bug and provinding a good testcase. Signed-off-by: Christoph Hellwig Reported-by: Utako Kusaka Reviewed-by: Alex Elder Signed-off-by: Alex Elder --- Reading git-diff-tree failed