diff options
| author | Rick Macklem <rmacklem@FreeBSD.org> | 2026-03-08 21:09:36 +0000 |
|---|---|---|
| committer | Rick Macklem <rmacklem@FreeBSD.org> | 2026-03-22 00:53:32 +0000 |
| commit | d288383b4d80e4b5e1bac09722e63d27074f4244 (patch) | |
| tree | 2eb583a546d54ddb81640e21a702f8c27522a5bb /sys/security/mac_pimd | |
| parent | a347e6e20e75ad6224afefcf650ef738c3de094d (diff) | |
nfs_clstate.c: Handle the same stateid case correctlystable/14
When an NFSv4.1/4.2 sarver upgrades a read delegation to
a write delegation, it does not need to change the
delegation's stateid.
Without this patch, a DELEGRETURN of the stateid was done
for the case where the delegation stateid had not changed.
This return was bogus, since the delegation stateid now
represents the new write delegation.
This patch fixes the priblem by checking for "same stateid"
and only doing the DELEGRETURN when it is not the same.
PR: 289711
(cherry picked from commit 016570c4463d5908953355ee1cf9a385ad9601b4)
Diffstat (limited to 'sys/security/mac_pimd')
0 files changed, 0 insertions, 0 deletions
