]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5efa581064d6d97f942b95e00587db7475563336
tree50fdd52cf70d0b611a24f42226cdca8467be6f10
parentfae89f637f71a894916540a20cf0000fae112fc3
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