]> 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>
Thu, 8 Jan 2026 09:14:19 +0000 (10:14 +0100)
commitd0835714042d4e9ce4d6de121967d3d7709f7a19
tree2c9eda2bad7daff4b6c43cd6556cea27e198268f
parenta41dc180b6e1229ae49ca290ae14d82101c148c3
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