Matthew Wilcox f04a703c3d 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>
2018-01-24 19:49:06 -06:00
..
2016-10-13 19:48:11 -05:00
2018-01-24 19:49:05 -06:00
2017-09-17 23:10:48 -05:00
2018-01-24 19:49:05 -06:00
2018-01-24 19:49:04 -06:00
2018-01-24 19:49:05 -06:00
2017-01-14 14:58:29 -06:00
2017-03-02 23:13:37 -06:00
2017-06-20 19:13:47 -05:00