Unverified Commit 2cc78965 authored by Christian Brauner's avatar Christian Brauner
Browse files

Merge patch series "ecryptfs: convert to the new mount API"

Eric Sandeen <sandeen@redhat.com> says:

This is lightly tested with the kernel tests present in ecryptfs-utils,
but it could certainly use a bit more testing and review, particularly
with invalid mount option sets.

This one is a little unique compared to other filesystems in that I
allocate both an fs context and the *sbi in .init_fs_context; the *sbi
is long-lived, and the context is only present during the initial mount.

Allocating sbi with the filesystem context means we can set options
into it directly, rather than needing to do it after parsing. And it's
particularly simple to do it this way given that there is no remount.

* patches from https://lore.kernel.org/r/20241028143359.605061-1-sandeen@redhat.com:
  ecryptfs: Convert ecryptfs to use the new mount API
  ecryptfs: Factor out mount option validation

Link: https://lore.kernel.org/r/20241028143359.605061-1-sandeen@redhat.com


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parents b4201b51 92f3da0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment