]> Gentwo Git Trees - linux/.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)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 25 Nov 2025 14:09:42 +0000 (09:09 -0500)
commit6f52063db9aabdaabea929b1e998af98c2e8d917
tree805fb64a752aceca34982ed731d9418c4c299991
parent1c873a2fd1109302a7687524d541ed815c13c026
NFSD: use correct reservation type in nfsd4_scsi_fence_client

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>
fs/nfsd/blocklayout.c