View | Details | Raw Unified | Return to bug 254682
Collapse All | Expand All

(-)b/sys/ufs/ufs/ufs_quota.c (+2 lines)
Lines 562-567 quotaon(struct thread *td, struct mount *mp, int type, void *fname) Link Here
562
	VOP_UNLOCK(vp);
562
	VOP_UNLOCK(vp);
563
	MNT_ILOCK(mp);
563
	MNT_ILOCK(mp);
564
	mp->mnt_flag |= MNT_QUOTA;
564
	mp->mnt_flag |= MNT_QUOTA;
565
	mp->mnt_stat.f_flags |= MNT_QUOTA;
565
	MNT_IUNLOCK(mp);
566
	MNT_IUNLOCK(mp);
566
567
567
	vpp = &ump->um_quotas[type];
568
	vpp = &ump->um_quotas[type];
Lines 764-769 quotaoff_inchange(struct thread *td, struct mount *mp, int type) Link Here
764
	if (i == MAXQUOTAS) {
765
	if (i == MAXQUOTAS) {
765
		MNT_ILOCK(mp);
766
		MNT_ILOCK(mp);
766
		mp->mnt_flag &= ~MNT_QUOTA;
767
		mp->mnt_flag &= ~MNT_QUOTA;
768
		mp->mnt_stat.f_flags &= ~MNT_QUOTA;
767
		MNT_IUNLOCK(mp);
769
		MNT_IUNLOCK(mp);
768
	}
770
	}
769
	UFS_UNLOCK(ump);
771
	UFS_UNLOCK(ump);

Return to bug 254682