diff options
| author | Alexander Aring <aahringo@redhat.com> | 2024-12-02 10:26:37 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 10:00:53 +0100 |
| commit | 1d6cab807639a0eeda1d9d73ec31a59bbd129a84 (patch) | |
| tree | d6ee4b97e9c6e090083d595fe97e5fb328201818 /fs/afs/dir.c | |
| parent | 5cb3d8242b2e3976a6cb072d8f7e92e053fbc6fa (diff) | |
| download | linux-1d6cab807639a0eeda1d9d73ec31a59bbd129a84.tar.gz linux-1d6cab807639a0eeda1d9d73ec31a59bbd129a84.tar.bz2 linux-1d6cab807639a0eeda1d9d73ec31a59bbd129a84.zip | |
dlm: fix srcu_read_lock() return type to int
[ Upstream commit 57cdd1a1cf1464199678f9338049b63fb5d5b41c ]
The return type of srcu_read_lock() is int and not bool. Whereas we
using the ret variable only to evaluate a bool type of
dlm_lowcomms_con_has_addr() to check if an address is already being set.
Fixes: 6f0b0b5d7ae7 ("fs: dlm: remove dlm_node_addrs lookup list")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/afs/dir.c')
0 files changed, 0 insertions, 0 deletions
