The patch titled eCryptfs: no path_release() after path_lookup() error has been removed from the -mm tree. Its filename was ecryptfs-no-path_release-after-path_lookup-error.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: eCryptfs: no path_release() after path_lookup() error From: Michael Halcrow <mhalcrow@xxxxxxxxxx> Dmitriy Monakhov wrote: > if path_lookup() return non zero code we don't have to worry about > 'nd' parameter, but ecryptfs_read_super does path_release(&nd) after > path_lookup has failed, and dentry counter becomes negative Do not do a path_release after a path_lookup error. Signed-off-by: Michael Halcrow <mhalcrow@xxxxxxxxxx> Cc: Dmitriy Monakhov <dmonakhov@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ecryptfs/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/ecryptfs/main.c~ecryptfs-no-path_release-after-path_lookup-error fs/ecryptfs/main.c --- a/fs/ecryptfs/main.c~ecryptfs-no-path_release-after-path_lookup-error +++ a/fs/ecryptfs/main.c @@ -487,7 +487,7 @@ static int ecryptfs_read_super(struct su rc = path_lookup(dev_name, LOOKUP_FOLLOW, &nd); if (rc) { ecryptfs_printk(KERN_WARNING, "path_lookup() failed\n"); - goto out_free; + goto out; } lower_root = nd.dentry; if (!lower_root->d_inode) { _ Patches currently in -mm which might be from mhalcrow@xxxxxxxxxx are origin.patch ecryptfs-check-xattr-operation-support-fix.patch git-unionfs.patch ecryptfs-handles-aop_truncated_page-better.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html