]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Fix missed free operations
authorChuhong Yuan <hslester96@gmail.com>
Mon, 14 Oct 2019 07:15:31 +0000 (15:15 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 21 Oct 2019 00:19:49 +0000 (19:19 -0500)
commite6065c3740a15f92f7b0b41e95b4d0d0c89c2d9c
treede3a1a39e64fad913b677c3b7a7517add2b0639f
parent47513cccc793bf7ed272773bf6cb60f77b04c428
cifs: Fix missed free operations

cifs_setattr_nounix has two paths which miss free operations
for xid and fullpath.
Use goto cifs_setattr_exit like other paths to fix them.

CC: Stable <stable@vger.kernel.org>
Fixes: a51397eb7cad ("cifs: flush before set-info if we have writeable handles")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/inode.c