History

fscrypt: remove the "write" part of struct fscrypt_ctx

Now that fscrypt_ctx is not used for writes, remove the 'w' fields.

Eric Biggers committed 7 years ago

Commit 2a415a01 parent d2d07273 files · +14 −18Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/fscrypt.h+2−5
@@ -63,16 +63,13 @@ struct fscrypt_operations { · 62 unmodified lines
63 unsigned int max_namelen;63 unsigned int max_namelen;
64};64};
65 65
66/* Decryption work */
66struct fscrypt_ctx {67struct fscrypt_ctx {
67 union {68 union {
68 struct {
69 struct page *bounce_page; /* Ciphertext page */
70 struct page *control_page; /* Original page */
71 } w;
72 struct {69 struct {
73 struct bio *bio;70 struct bio *bio;
74 struct work_struct work;71 struct work_struct work;
75 } r;72 };
76 struct list_head free_list; /* Free list */73 struct list_head free_list; /* Free list */
77 };74 };
78 u8 flags; /* Flags */75 u8 flags; /* Flags */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t