Commit be2760a
committed
f2fs: Configure dentry operations at dentry-creation time
This was already the case for case-insensitive before commit
bb9cd91 ("fscrypt: Have filesystems handle their d_ops"), but it
was changed to set at lookup-time to facilitate the integration with
fscrypt. But it's a problem because dentries that don't get created
through ->lookup() won't have any visibility of the operations.
Since fscrypt now also supports configuring dentry operations at
creation-time, do it for any encrypted and/or casefold volume,
simplifying the implementation across these features.
Reviewed-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>1 parent 04aa5f4 commit be2760a
2 files changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
535 | 534 | | |
536 | 535 | | |
537 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4660 | 4660 | | |
4661 | 4661 | | |
4662 | 4662 | | |
| 4663 | + | |
4663 | 4664 | | |
4664 | 4665 | | |
4665 | 4666 | | |
| |||
0 commit comments