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. I could squash these two patches into one if you prefer, but I thought maybe breaking out the first change made review a little easier. V2: Fix whitespace issues and remove an accidental double semicolon in the 2nd patch. Thanks, -Eric