diff options
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | 2010-07-29 11:01:36 (GMT) |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-08-09 15:33:05 (GMT) |
commit | 31f73bee3e170b7cabb35db9e2f4bf7919b9d036 (patch) | |
tree | 70c0ebb11bb3839050df7fa26b42c94d05cf6a3c /fs/ecryptfs/file.c | |
parent | c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55 (diff) | |
download | linux-fsl-qoriq-31f73bee3e170b7cabb35db9e2f4bf7919b9d036.tar.xz |
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>
Diffstat (limited to 'fs/ecryptfs/file.c')
0 files changed, 0 insertions, 0 deletions