This is a step in the direction of removing special handling
of the rootdev vs. quotas.
This will allow quota inode creation on a read-only filesystem, which
would happen if you want to pass in "quota" as a rootdev option via
lilo, and you have not had quotas before.
The filesystem will temporarily be read-write while the inodes are created,
like we currently do for quotacheck and recovery.
Nothing in this change should affect the way quota currently works,
it just adds the option of turning them on for the first time on a read-only
fs.
Allow quota inode creation on a read-only filesystem.
Date: Wed Oct 2 12:22:11 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:128905a
linux/fs/xfs/xfs_qm.c - 1.85
- use xfs_quotaino_create_read_only() and switch temporarily
to read-write so that we can create quota inodes, if
necessary. (Similar to recovery & quotachk on an ro fs.)
linux/fs/xfs/linux/xfs_lrw.h - 1.26
linux/fs/xfs/linux/xfs_lrw.c - 1.168
- Add xfs_quotaino_create_read_only()
|