]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ecryptfs: test lower_file pointer when lower_file_mutex is locked
authorRoberto Sassu <roberto.sassu@polito.it>
Wed, 3 Nov 2010 10:11:28 +0000 (11:11 +0100)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Mon, 17 Jan 2011 17:24:42 +0000 (11:24 -0600)
commit27992890b02d340198a3a22fc210d13684a41564
tree7ece682994e705791c2c96a02cb139c1f42b0239
parent070baa51286e5cf59dde6be52fa23647ffb5d32d
ecryptfs: test lower_file pointer when lower_file_mutex is locked

This patch prevents the lower_file pointer in the 'ecryptfs_inode_info'
structure to be checked when the mutex 'lower_file_mutex' is not locked.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/file.c
fs/ecryptfs/inode.c