summaryrefslogtreecommitdiff
path: root/fs/efivarfs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-11-29 16:33:39 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2020-12-06 14:59:17 -0800
commit69b2cdb060424ea12f27100515241d4d5938ea67 (patch)
tree8a2bb6b6ce908626362b7cf686c05e98cc251e77 /fs/efivarfs
parent3f42eadb89ca1cba9679e56ff9cc7868186b3333 (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 'fs/efivarfs')
0 files changed, 0 insertions, 0 deletions