]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSD: use correct reservation type in nfsd4_scsi_fence_client
authorDai Ngo <dai.ngo@oracle.com>
Wed, 5 Nov 2025 20:45:54 +0000 (12:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:51 +0000 (13:09 +0100)
commitfc3ab9b2cce5ef38c7cbe84ced4eccacf1e7dd2b
tree8db4bd884bbe6f1a4eb31443dad8ffe161c06ff4
parent278455a82245a572aeb218a6212a416a98e418de
NFSD: use correct reservation type in nfsd4_scsi_fence_client

commit 6f52063db9aabdaabea929b1e998af98c2e8d917 upstream.

The reservation type argument for the pr_preempt call should match the
one used in nfsd4_block_get_device_info_scsi.

Fixes: f99d4fbdae67 ("nfsd: add SCSI layout support")
Cc: stable@vger.kernel.org
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/blocklayout.c