From: Michael Halcrow Date: Tue, 16 Oct 2007 08:28:10 +0000 (-0700) Subject: eCryptfs: make open, truncate, and setattr use persistent file X-Git-Tag: v2.6.24-rc1~978 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed92554abc5c40d4450f9869c9565a1919a9242;p=pandora-kernel.git eCryptfs: make open, truncate, and setattr use persistent file Rather than open a new lower file for every eCryptfs file that is opened, truncated, or setattr'd, instead use the existing lower persistent file for the eCryptfs inode. Change truncate to use read_write.c functions. Change ecryptfs_getxattr() to use the common ecryptfs_getxattr_lower() function. Signed-off-by: Michael Halcrow Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed