Fix memory leaks in cifs_do_mount()
authorSachin Prabhu <sprabhu@redhat.com>
Fri, 29 Jul 2016 21:38:19 +0000 (22:38 +0100)
committerSteve French <smfrench@gmail.com>
Wed, 3 Aug 2016 17:04:58 +0000 (12:04 -0500)
commitbc7fd99521b996e43ed83d1c81ce857ab96e60b5
treed42b12e34c29a31d7cff06f64120c8aed6dad3dc
parentf0936155f2204720655aefbc2f17c25a2c80a59e
Fix memory leaks in cifs_do_mount()

Fix memory leaks introduced by the patch
fs/cifs: make share unaccessible at root level mountable

Also move allocation of cifs_sb->prepath to cifs_setup_cifs_sb().

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Tested-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c
fs/cifs/cifsproto.h
fs/cifs/connect.c
This page took 0.027313 seconds and 5 git commands to generate.