Skip to content

ovl: fix verity lazy-load guard broken by fsverity_active() semantic change#1322

Open
vfsci-bot[bot] wants to merge 1 commit intovfs.base.cifrom
pw/1090071/vfs.base.ci
Open

ovl: fix verity lazy-load guard broken by fsverity_active() semantic change#1322
vfsci-bot[bot] wants to merge 1 commit intovfs.base.cifrom
pw/1090071/vfs.base.ci

Conversation

@vfsci-bot
Copy link
Copy Markdown

@vfsci-bot vfsci-bot Bot commented May 5, 2026

Series: https://patchwork.kernel.org/project/linux-fsdevel/list/?series=1090071
Submitter: Colin Walters
Version: 1
Patches: 1/1
Message-ID: <6630d44f-967d-41f0-81ce-6958b371465a@app.fastmail.com>
Base: vfs.base.ci
Lore: https://lore.kernel.org/linux-fsdevel/6630d44f-967d-41f0-81ce-6958b371465a@app.fastmail.com


Automated by ml2pr

…change

Commit f77f281 ("fsverity: use a hashtable to find the fsverity_info")
that broke `ovl_ensure_verity_loaded` in the case when the inode was not in core.

The APIs here are in my opinion now confusing, but this patch intentionally
aims for a minimized fix by using `fsverity_get_info()` which ensures
the hash table is loaded.

Fixes: f77f281 ("fsverity: use a hashtable to find the fsverity_info")
Cc: stable@vger.kernel.org
Link: bootc-dev/bootc#2174
Signed-off-by: Colin Walters <walters@verbum.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant