diff options
author | Eric Biggers <ebiggers@google.com> | 2019-12-15 13:39:47 -0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-12-31 10:33:50 -0600 |
commit | 8a4ab0b866d8aba85b9899edebf14b87b25f817f (patch) | |
tree | 9390b2c28ef2cb17fcb170847871dd167154ddcd /tools | |
parent | 2a5831b1d29754c216ad3b06a018c29e74d4ad10 (diff) | |
download | linux-stable-8a4ab0b866d8aba85b9899edebf14b87b25f817f.tar.gz linux-stable-8a4ab0b866d8aba85b9899edebf14b87b25f817f.tar.bz2 linux-stable-8a4ab0b866d8aba85b9899edebf14b87b25f817f.zip |
fscrypt: constify inode parameter to filename encryption functions
Constify the struct inode parameter to fscrypt_fname_disk_to_usr() and
the other filename encryption functions so that users don't have to pass
in a non-const inode when they are dealing with a const one, as in [1].
[1] https://lkml.kernel.org/linux-ext4/20191203051049.44573-6-drosen@google.com/
Cc: Daniel Rosenberg <drosen@google.com>
Link: https://lore.kernel.org/r/20191215213947.9521-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions