]> git.karo-electronics.de Git - karo-tx-linux.git/commit
eCryptfs: protect crypt_stat->flags in ecryptfs_open()
authorMichael Halcrow <mhalcrow@us.ibm.com>
Sun, 8 Jun 2008 08:58:02 +0000 (10:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 16 Jun 2008 20:19:50 +0000 (13:19 -0700)
commitb2c908b6b75478eb7cd88bfc69b85082444574d2
tree286006909b71115e8fccca696e6c325f95551342
parent2583783370aa26010ca861111b21700a9655d238
eCryptfs: protect crypt_stat->flags in ecryptfs_open()

upstream commit: 2f9b12a31fcb738ea8c9eb0d4ddf906c6f1d696c

Make sure crypt_stat->flags is protected with a lock in ecryptfs_open().

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
fs/ecryptfs/file.c