switch-linux/fs/ecryptfs
Rasmus Villemoes abbae6d560 ecryptfs: remove private bin2hex implementation
Calling sprintf in a loop is not very efficient, and in any case, we
already have an implementation of bin-to-hex conversion in lib/ which
we might as well use.

Note that ecryptfs_to_hex used to nul-terminate the destination (and
the kernel doc was wrong about the required output size), while
bin2hex doesn't. [All but one user of ecryptfs_to_hex explicitly
nul-terminates the result anyway.]

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
[tyhicks: Include <linux/kernel.h> in ecryptfs_kernel.h]
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
2017-11-04 22:16:41 +00:00
..
crypto.c ecryptfs: remove private bin2hex implementation 2017-11-04 22:16:41 +00:00
debug.c
dentry.c
ecryptfs_kernel.h ecryptfs: remove private bin2hex implementation 2017-11-04 22:16:41 +00:00
file.c ecryptfs: convert to file_write_and_wait in ->fsync 2017-08-03 14:20:22 -04:00
inode.c statx: Add a system call to make enhanced file info available 2017-03-02 20:51:15 -05:00
Kconfig
keystore.c ecryptfs: add missing \n to end of various error messages 2017-11-04 22:16:39 +00:00
kthread.c scripts/spelling.txt: add "againt" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
main.c ecryptfs: add missing \n to end of various error messages 2017-11-04 22:16:39 +00:00
Makefile
messaging.c
miscdev.c ecryptfs: add missing \n to end of various error messages 2017-11-04 22:16:39 +00:00
mmap.c
read_write.c fs: fix kernel_write prototype 2017-09-04 19:05:15 -04:00
super.c