diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-09-11 18:42:34 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-09-12 20:31:07 +0300 |
commit | 76e589013fec672c3587d6314f2d1f0aeddc26d9 (patch) | |
tree | 4eedead794a5948310d0d8275dbee781f2da6230 /scripts/gdb/linux/modules.py | |
parent | ef7d9593390a050c50eba5fc02d2cb65a1104434 (diff) | |
download | linux-76e589013fec672c3587d6314f2d1f0aeddc26d9.tar.xz |
xfs: allow inode inactivation during a ro mount log recovery
In the next patch, we're going to prohibit log recovery if the primary
superblock contains an unrecognized rocompat feature bit even on
readonly mounts. This requires removing all the code in the log
mounting process that temporarily disables the readonly state.
Unfortunately, inode inactivation disables itself on readonly mounts.
Clearing the iunlinked lists after log recovery needs inactivation to
run to free the unreferenced inodes, which (AFAICT) is the only reason
why log mounting plays games with the readonly state in the first place.
Therefore, change the inactivation predicates to allow inactivation
during log recovery of a readonly mount.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions