diff options
author | Matthew Wilcox <mawilcox@microsoft.com> | 2017-12-15 12:48:32 -0800 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2018-01-24 19:49:06 -0600 |
commit | f04a703c3d613845ae3141bfaf223489de8ab3eb (patch) | |
tree | 12d5c5ec922757e37040ab164b5dd50d2b6f400f /Kconfig | |
parent | d8ec913b178156661c2b941f94ec22487225d3dc (diff) | |
download | linux-f04a703c3d613845ae3141bfaf223489de8ab3eb.tar.bz2 |
cifs: Fix missing put_xid in cifs_file_strict_mmap
If cifs_zap_mapping() returned an error, we would return without putting
the xid that we got earlier. Restructure cifs_file_strict_mmap() and
cifs_file_mmap() to be more similar to each other and have a single
point of return that always puts the xid.
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions