Use ecryptfs_dentry_to_lower_path in a couple of places
authorMatthew Wilcox <willy@linux.intel.com>
Sat, 15 Jun 2013 11:55:59 +0000 (07:55 -0400)
committerTyler Hicks <tyhicks@canonical.com>
Wed, 10 Jul 2013 06:40:28 +0000 (23:40 -0700)
commitcc18ec3c8f5dd735c1bff5da30fd33860c08a293
tree50fdd52cf70d0b611a24f42226cdca8467be6f10
parent0df5ed65c14e2c36ed842fcff58118662009f1a1
Use ecryptfs_dentry_to_lower_path in a couple of places

There are two places in ecryptfs that benefit from using
ecryptfs_dentry_to_lower_path() instead of separate calls to
ecryptfs_dentry_to_lower() and ecryptfs_dentry_to_lower_mnt().  Both
sites use fewer instructions and less stack (determined by examining
objdump output).

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/file.c
fs/ecryptfs/main.c