Home
last modified time | relevance | path

Searched hist:"778 aeb42a708d2a57e491d2cbb5a1e74f61270b9" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/ecryptfs/
H A Decryptfs_kernel.hdiff 778aeb42a708d2a57e491d2cbb5a1e74f61270b9 Tue May 24 04:56:23 CDT 2011 Tyler Hicks <tyhicks@linux.vnet.ibm.com> eCryptfs: Cleanup and optimize ecryptfs_lookup_interpose()

ecryptfs_lookup_interpose() has turned into spaghetti code over the
years. This is an effort to clean it up.

- Shorten overly descriptive variable names such as ecryptfs_dentry
- Simplify gotos and error paths
- Create helper function for reading plaintext i_size from metadata

It also includes an optimization when reading i_size from the metadata.
A complete page-sized kmem_cache_alloc() was being done to read in 16
bytes of metadata. The buffer for that is now statically declared.

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
H A Dcrypto.cdiff 778aeb42a708d2a57e491d2cbb5a1e74f61270b9 Tue May 24 04:56:23 CDT 2011 Tyler Hicks <tyhicks@linux.vnet.ibm.com> eCryptfs: Cleanup and optimize ecryptfs_lookup_interpose()

ecryptfs_lookup_interpose() has turned into spaghetti code over the
years. This is an effort to clean it up.

- Shorten overly descriptive variable names such as ecryptfs_dentry
- Simplify gotos and error paths
- Create helper function for reading plaintext i_size from metadata

It also includes an optimization when reading i_size from the metadata.
A complete page-sized kmem_cache_alloc() was being done to read in 16
bytes of metadata. The buffer for that is now statically declared.

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
H A Dinode.cdiff 778aeb42a708d2a57e491d2cbb5a1e74f61270b9 Tue May 24 04:56:23 CDT 2011 Tyler Hicks <tyhicks@linux.vnet.ibm.com> eCryptfs: Cleanup and optimize ecryptfs_lookup_interpose()

ecryptfs_lookup_interpose() has turned into spaghetti code over the
years. This is an effort to clean it up.

- Shorten overly descriptive variable names such as ecryptfs_dentry
- Simplify gotos and error paths
- Create helper function for reading plaintext i_size from metadata

It also includes an optimization when reading i_size from the metadata.
A complete page-sized kmem_cache_alloc() was being done to read in 16
bytes of metadata. The buffer for that is now statically declared.

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>