Skip to content

fscrypt: remove checks for encryption key after file open

Eric Biggers linux-ext4 linux-f2fs-devel linux-fscrypt linux-mtd 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4ext4: don't bother checking for encryption key in ->mmap()fs/ext4/file.c+0 -71 reply
2/4f2fs: don't bother checking for encryption key in ->mmap()fs/f2fs/file.c+0 -71 reply
3/4ubifs: don't bother checking for encryption key in ->mmap()fs/ubifs/file.c+0 -15 replies
4/4f2fs: don't bother checking for encryption key in ->write_iter()fs/f2fs/file.c+0 -41 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid GstirChao YuRichard Weinberger
SeriesR-b
1/4
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] fscrypt: remove checks for encryption key after file open

From: Eric Biggers <[email protected]>

This series removes checks for a regular file's encryption key that occur after we've already opened the file. We're guaranteed to already have the key in such places, since we require it in ->open(). open() fails with ENOKEY otherwise, and a file descriptor is never made available.

This pertains to regular files only. (Directories can be opened with or without their key.)

Eric Biggers (4):
ext4: don't bother checking for encryption key in ->mmap()
f2fs: don't bother checking for encryption key in ->mmap()
ubifs: don't bother checking for encryption key in ->mmap()
f2fs: don't bother checking for encryption key in ->write_iter()

 fs/ext4/file.c  |  7 -------
 fs/f2fs/file.c  | 13 -------------
 fs/ubifs/file.c |  9 ---------
 3 files changed, 29 deletions(-)
Signature · 1 line
2.13.0.303.g4ebf302169-goog