summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2016-09-21 01:17:24 +0200
committerTyler Hicks <tyhicks@canonical.com>2017-11-04 23:16:41 +0100
commitabbae6d560c1d562c5c0d10785469734784ef961 (patch)
treeabf569213a03de67189195351d2edbf89f90c0e4 /fs/gfs2/glops.c
parentecryptfs: add missing \n to end of various error messages (diff)
downloadlinux-abbae6d560c1d562c5c0d10785469734784ef961.tar.xz
linux-abbae6d560c1d562c5c0d10785469734784ef961.zip
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>
Diffstat (limited to 'fs/gfs2/glops.c')
0 files changed, 0 insertions, 0 deletions