]> 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)
commit941d687f4ed3f0c845deaaf775e1cc5c257fadbf
treede3a1a39e64fad913b677c3b7a7517add2b0639f
parenta776cc14f4b946be11f9f80ce20ab15fa0631a87
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: 42e2cdca7346 ("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