Commit 04aa5f4
committed
ext4: 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.
Acked-by: Theodore Ts'o <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>1 parent 70dfe3f commit 04aa5f4
2 files changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1762 | 1762 | | |
1763 | 1763 | | |
1764 | 1764 | | |
1765 | | - | |
1766 | 1765 | | |
1767 | 1766 | | |
1768 | 1767 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5484 | 5484 | | |
5485 | 5485 | | |
5486 | 5486 | | |
| 5487 | + | |
5487 | 5488 | | |
5488 | 5489 | | |
5489 | 5490 | | |
| |||
0 commit comments