]> 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:11:49 +0000 (13:11 +0100)
commitb01621d964537ffbca2002abc7b90b9402e4ad10
tree104e53f1f9873afa9c34e8c6ebf41b50a2d3cae2
parentc8f6f88cd1df35155258285c4f43268b361819df
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