Files
linux/fs
Eric Biggers 59dc6a8e1f fscrypt: add ->ci_inode to fscrypt_info
Add an inode back-pointer to 'struct fscrypt_info', such that
inode->i_crypt_info->ci_inode == inode.

This will be useful for:

1. Evicting the inodes when a fscrypt key is removed, since we'll track
   the inodes using a given key by linking their fscrypt_infos together,
   rather than the inodes directly.  This avoids bloating 'struct inode'
   with a new list_head.

2. Simplifying the per-file key setup, since the inode pointer won't
   have to be passed around everywhere just in case something goes wrong
   and it's needed for fscrypt_warn().

Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Eric Biggers <ebiggers@google.com>
2019-08-12 19:05:22 -07:00
..
2019-07-18 18:14:47 -05:00
2019-07-31 18:51:50 +02:00
2019-07-25 11:05:11 +02:00
2019-07-03 17:52:09 -04:00
2019-05-21 08:23:41 +01:00
2019-04-08 18:21:02 -05:00
2019-02-07 16:38:35 +01:00
2019-07-31 12:22:32 -04:00