WSL2-Linux-Kernel/fs/xfs/quota
Donald Douwsma d757762bf2 [XFS] Fix dbflush panic in xfs_qm_sync.
The recent behaviour layer removal dropped the check for quotas that have
been requested at mount time but have subsequently been turned off. This
results in a panic when accessing m_quotainfo which has been freed.

This patch adds the check originally made by xfs_qm_syncall() to
xfs_qm_sync().

SGI-PV: 969769
SGI-Modid: xfs-linux-melb:xfs-kern:29908a

Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2007-12-10 13:40:10 +11:00
..
xfs_dquot.c [XFS] The last argument "lsn" of xfs_trans_commit() is always called with 2007-05-08 13:48:42 +10:00
xfs_dquot.h [XFS] Kill direct access to ->count in valusema(); all we ever use it for 2006-06-19 08:41:30 +10:00
xfs_dquot_item.c [XFS] Remove unused header files for MAC and CAP checking functionality. 2007-02-10 18:37:28 +11: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] Fix dbflush panic in xfs_qm_sync. 2007-12-10 13:40:10 +11:00
xfs_qm.h [XFS] remove dependency of the quota module on behaviors 2007-10-16 11:43:26 +10:00
xfs_qm_bhv.c [XFS] remove dependency of the quota module on behaviors 2007-10-16 11:43:26 +10:00
xfs_qm_stats.c [XFS] Remove unused header files for MAC and CAP checking functionality. 2007-02-10 18:37:28 +11:00
xfs_qm_stats.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:59:41 +11:00
xfs_qm_syscalls.c [XFS] kill the vfs_flags member in struct bhv_vfs 2007-10-16 11:45:57 +10:00
xfs_quota_priv.h [XFS] Remove several macros that are no longer used anywhere 2006-09-28 11:02:57 +10:00
xfs_trans_dquot.c [XFS] Fix uquota and oquota enforcement problems. 2007-05-08 13:49:33 +10:00