[Devel] [PATCH] autofs: fix double pid put in error path
Stanislav Kinsburskiy
skinsbursky at virtuozzo.com
Fri Sep 1 13:27:03 MSK 2017
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
fs/autofs4/inode.c | 1 -
1 file changed, 1 deletion(-)
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;
More information about the Devel
mailing list