summaryrefslogtreecommitdiff
path: root/LICENSES/preferred/LGPL-2.1
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-12-04 13:41:36 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2020-12-06 15:17:19 -0800
commit5a6b9401f4b6314be6646b47eff8b4ac4015a12a (patch)
tree19e6361acc49b57615a5902a46b668af993042b9 /LICENSES/preferred/LGPL-2.1
parentc68bd2aebd9020a67a3ba5ae648ecbcea160e4ac (diff)
xfs: validate feature support when recovering rmap/refcount/bmap intents
The bmap, rmap, and refcount log intent items were added to support the rmap and reflink features. Because these features come with changes to the ondisk format, the log items aren't tied to a log incompat flag. However, the log recovery routines don't actually check for those feature flags. The kernel has no business replayng an intent item for a feature that isn't enabled, so check that as part of recovered log item validation. (Note that kernels pre-dating rmap and reflink will fail the mount on the unknown log item type code.) Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'LICENSES/preferred/LGPL-2.1')
0 files changed, 0 insertions, 0 deletions