Skip to content
Commit 70dfe3f0 authored by Gabriel Krisman Bertazi's avatar Gabriel Krisman Bertazi
Browse files

libfs: Add helper to choose dentry operations at mount-time



In preparation to drop the similar helper that sets d_op at lookup time,
add a version to set the right d_op filesystem-wide, through sb->s_d_op.
The operations structures are shared across filesystems supporting
fscrypt and/or casefolding, therefore we can keep it in common libfs
code.

Reviewed-by: default avatarEric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20240221171412.10710-7-krisman@suse.de


Signed-off-by: default avatarGabriel Krisman Bertazi <krisman@suse.de>
parent e6ca2883
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment