From: Michael Halcrow Date: Tue, 16 Oct 2007 08:27:58 +0000 (-0700) Subject: eCryptfs: fix Tag 11 writing code X-Git-Tag: v2.6.24-rc1~996 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=146a46063b282375015d4b2dad4a94f206bbea4e;p=pandora-kernel.git eCryptfs: fix Tag 11 writing code Fix up the Tag 11 writing code to handle size limits and boundaries more explicitly. It looks like the packet length was 1 shorter than it should have been, chopping off the last byte of the key identifier. This is largely inconsequential, since it is not much more likely that a key identifier collision will occur with 7 bytes rather than 8. This patch fixes the packet to use the full number of bytes that were originally intended to be used for the key identifier. Signed-off-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed