ceph: fix double unlock in handle_cap_export()
Wu Bo authored
[ Upstream commit 4d8e28ff

 ]

If the ceph_mdsc_open_export_target_session() return fails, it will
do a "goto retry", but the session mutex has already been unlocked.
Re-lock the mutex in that case to ensure that we don't unlock it
twice.
Signed-off-by: default avatarWu Bo <wubo40@huawei.com>
Reviewed-by: default avatar"Yan, Zheng" <zyan@redhat.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
2a41dc82
Name Last commit Last update
Documentation ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
arch x86/apic: Move TSC deadline timer debug printk
block block, bfq: fix use-after-free in bfq_idle_slice_timer_body
certs Replace magic for trusting the secondary keyring with #define
crypto gcc-10: avoid shadowing standard library 'free()' in crypto
drivers gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
firmware Fix built-in early-load Intel microcode alignment
fs ceph: fix double unlock in handle_cap_export()
include padata: ensure padata_do_serial() runs on the correct CPU
init x86: Fix early boot crash on gcc-10, third try
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
kernel padata: ensure padata_do_serial() runs on the correct CPU
lib lib/mpi: Fix building for powerpc with clang
mm shmem: fix possible deadlocks on shmlock_user_lock
net net: tcp: fix rx timestamp behavior for tcp_recvmsg
samples samples/bpf: Don't try to remove user's homedir on clean
scripts gcc-common.h: Update for GCC 10
security ima: Fix return value of ima_write_policy()
sound Revert "ALSA: hda/realtek: Fix pop noise on ALC225"
tools objtool: Fix stack offset tracking for indirect CFAs
usr initramfs: restore default compression behavior
virt KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVER
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address
COPYING [PATCH] update FSF address in COPYING
CREDITS MAINTAINERS: update TPM driver infrastructure changes
Kbuild License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license
MAINTAINERS MAINTAINERS: Update drm/i915 bug filing URL
Makefile Linux 4.14.181
README README: add a new README file, pointing to the Documentation/
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.