aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2017-08-08 18:21:49 -0700
committerDarrick J. Wong <[email protected]>2017-08-22 09:22:23 -0700
commit6f4a1eefdd0ad4561543270a7fceadabcca075dd (patch)
tree65b1a15fed34eb464ad8cb30db577ce6afd08ebc /lib/string_helpers.c
parent757a69ef6cf2bf839bd4088e5609ddddd663b0c4 (diff)
xfs: toggle readonly state around xfs_log_mount_finish
When we do log recovery on a readonly mount, unlinked inode processing does not happen due to the readonly checks in xfs_inactive(), which are trying to prevent any I/O on a readonly mount. This is misguided - we do I/O on readonly mounts all the time, for consistency; for example, log recovery. So do the same RDONLY flag twiddling around xfs_log_mount_finish() as we do around xfs_log_mount(), for the same reason. This all cries out for a big rework but for now this is a simple fix to an obvious problem. Signed-off-by: Eric Sandeen <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions