]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
eCryptfs: change the type of cipher_code from u16 to u8
authorTrevor Highland <thighlan@gmail.com>
Wed, 6 Feb 2008 09:38:36 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:13 +0000 (10:41 -0800)
commit19e66a67e9b25874cd5e184e7d381ce1b955df11
tree6dfd5c9771a99ddf7f3978ff6be466267727e2d5
parent25bd8174036036f427b039e4857feac6c6912a37
eCryptfs: change the type of cipher_code from u16 to u8

Only the lower byte of cipher_code is ever used, so it makes sense
for its type to be u8.

Signed-off-by: Trevor Highland <trevor.highland@gmail.com>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/crypto.c
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/keystore.c