summaryrefslogtreecommitdiff
path: root/net/compat.c
diff options
context:
space:
mode:
authorMatthew Wilcox <mawilcox@microsoft.com>2017-12-15 12:48:32 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-17 13:21:12 +0100
commitee6858f72a39226728e5085fc7388785a8ddc5d3 (patch)
tree66653318d5c8e3d4a2b960a5d9dc606b2cd77b90 /net/compat.c
parentba4f9c192d3b655af9a24e0b8273e58d9ed8aa63 (diff)
cifs: Fix missing put_xid in cifs_file_strict_mmap
commit f04a703c3d613845ae3141bfaf223489de8ab3eb upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions