From: Michael Halcrow Date: Wed, 27 Jun 2007 21:09:44 +0000 (-0700) Subject: eCryptfs: initialize crypt_stat in setattr X-Git-Tag: v2.6.22-rc7~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e10f281bca03f45bdec91e67645c394eaec2f8f6;p=pandora-kernel.git eCryptfs: initialize crypt_stat in setattr Recent changes in eCryptfs have made it possible to get to ecryptfs_setattr() with an uninitialized crypt_stat struct. This results in a wide and colorful variety of unpleasantries. This patch properly initializes the crypt_stat structure in ecryptfs_setattr() when it is necessary to do so. Signed-off-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed