commit | 31f73bee3e170b7cabb35db9e2f4bf7919b9d036 | [log] [tgz] |
---|---|---|
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | Thu Jul 29 13:01:36 2010 +0200 |
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | Mon Aug 09 10:33:05 2010 -0500 |
tree | 70c0ebb11bb3839050df7fa26b42c94d05cf6a3c | |
parent | c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55 [diff] |
ecryptfs: release reference to lower mount if interpose fails In ecryptfs_lookup_and_interpose_lower() the lower mount is not decremented if allocation of a dentry info struct failed. As a result the lower filesystem cant be unmounted any more (since it is considered busy). This patch corrects the reference counting. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Cc: stable@kernel.org Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>