[Devel] autofs: fix double pid put in error path

Submitted by Stanislav Kinsburskiy on Sept. 1, 2017, 10:27 a.m.

Details

Message ID 20170901102653.27174.4093.stgit@localhost.localdomain
State New
Series "autofs: fix double pid put in error path"
Headers show

Commit Message

Stanislav Kinsburskiy Sept. 1, 2017, 10:27 a.m.
Signed-off-by: Stanislav Kinsburskiy <skinsbursky@virtuozzo.com>
---
 fs/autofs4/inode.c |    1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c
index b23cf2a..0ba9c02 100644
--- a/fs/autofs4/inode.c
+++ b/fs/autofs4/inode.c
@@ -343,7 +343,6 @@  int autofs4_fill_super(struct super_block *s, void *data, int silent)
 fail_ino:
 	kfree(ino);
 fail_free:
-	put_pid(sbi->oz_pgrp);
 	kfree(sbi);
 	s->s_fs_info = NULL;
 	return ret;