ecryptfs: add missing lock around notify_change
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 29 Apr 2008 07:59:48 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:07 +0000 (08:06 -0700)
commit9c3580aa52195699065bc2d7242b1c7e3e6903fa
tree975320d4a2369ebffadf7273bb8f86377d03445f
parent18d1dbf1d401e8f9d74cf1cf799fdb19cff150c6
ecryptfs: add missing lock around notify_change

Callers of notify_change() need to hold i_mutex.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/inode.c