From: Yoshihisa Abe Date: Mon, 25 Oct 2010 06:03:44 +0000 (-0400) Subject: Coda: add spin lock to protect accesses to struct coda_inode_info. X-Git-Tag: v2.6.37-rc1~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5ce1d83a62fc109d8e815b1fc71dcdb0d26bc49;p=pandora-kernel.git Coda: add spin lock to protect accesses to struct coda_inode_info. We mostly need it to protect cached user permissions. The c_flags field is advisory, reading the wrong value is harmless and in the worst case we hit a slow path where we have to make an extra upcall to the userspace cache manager when revalidating a dentry or inode. Signed-off-by: Yoshihisa Abe Signed-off-by: Jan Harkes Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed