This fixes the problem Thomas reported about not being able to
mount root XFS filesystems with quota enabled (see quotaon.8).
The rootdev changes also affect xfs_force_shutdown() - the
"if" test in xfs_rw.c, line 436, should now be doing the right
thing.
(but I think the cmn_err call on the next line will not panic
as expected? Mark? - need an extension to cmn_err to handle
CE_PANIC?).
cheers.
Date: Mon Feb 26 18:43:46 PST 2001
Workarea: snort.melbourne.sgi.com:/diskb/build4/nathans/linux-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:88444a
linux/fs/dquot.c - 1.25
- push the 2^16 uid/gid check down below the sb quotactl vector
so that xfs gets through with int-sized uids.
linux/fs/xfs/xfs_log_recover.c - 1.201
- use updated readonly test function name, fix spacing.
linux/fs/xfs/xfs_qm.c - 1.61
linux/fs/xfs/linux/xfs_lrw.h - 1.16
linux/fs/xfs/linux/xfs_lrw.c - 1.76
- like recovery, the in-kernel xfs quotacheck needs to run on a
readonly-mounted root fs with (temporary) write access.
linux/fs/xfs/linux/xfs_globals.c - 1.23
linux/fs/xfs/linux/xfs_globals.h - 1.5
- remove rootdev, twas wrong (uninited).
linux/fs/xfs/linux/xfs_linux.h - 1.42
- make rootdev point to the real root device.
cmd/quota/quotaon.c - 1.9
- fixups to allow quota on the root filesystem to be enabled.
|