]> err.no Git - linux-2.6/commit
eCryptfs: protect crypt_stat->flags in ecryptfs_open()
authorMichael Halcrow <mhalcrow@us.ibm.com>
Tue, 29 Apr 2008 07:59:52 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:07 +0000 (08:06 -0700)
commit2f9b12a31fcb738ea8c9eb0d4ddf906c6f1d696c
treee6cde843b575c2b29396ee2b66af285da68c5a79
parent6a3fd92e73fffd9e583650c56ad9558afe51dc5c
eCryptfs: protect crypt_stat->flags in ecryptfs_open()

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>
fs/ecryptfs/file.c