linux/fs/xfs/quota
Christoph Hellwig 05277c75f6 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 <hch@lst.de>
Reported-by: Utako Kusaka <u-kusaka@wm.jp.nec.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
2009-10-13 13:16:36 -05:00
..
xfs_dquot.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00
xfs_dquot.h xfs: kill xfs_qmops 2009-06-08 15:33:32 +02:00
xfs_dquot_item.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00
xfs_dquot_item.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:59:41 +11:00
xfs_qm.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00
xfs_qm.h xfs: kill xfs_qmops 2009-06-08 15:33:32 +02:00
xfs_qm_bhv.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00
xfs_qm_stats.c xfs: switch to seq_file 2009-09-15 12:29:24 -05:00
xfs_qm_stats.h [XFS] Replace __inline with inline 2008-04-18 11:51:15 +10:00
xfs_qm_syscalls.c xfs: fix double IRELE in xfs_dqrele_inode 2009-10-13 13:16:36 -05:00
xfs_quota_priv.h xfs: sanitize qh_lock wrappers 2009-02-09 08:47:22 +01:00
xfs_trans_dquot.c xfs: use generic Posix ACL code 2009-06-10 17:07:47 +02:00