Skip to contentSkip to conversation

TAKE 969769 - Fix dbflush panic in xfs_qm_sync

DISCUSSION [email protected] 1 participant 1 message Oct 18, 2007

lore
Share & tools
lore
#0 lore raw

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().

Date:  Thu Oct 18 17:24:16 AEST 2007
Workarea:  linuxbuild.melbourne.sgi.com:/home/donaldd/isms/2.6.x-xfs
Inspected by:  dgc,lachlan

The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb

Modid: xfs-linux-melb:xfs-kern:29908a
fs/xfs/quota/xfs_qm.c - 1.58 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/quota/xfs_qm.c.diff?r1=text&tr1=1.58&r2=text&tr2=1.57&f=h
- Fix dbflush panic in xfs_qm_sync