We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6451fab + 890dc11 commit 14ba1f0Copy full SHA for 14ba1f0
fs/nfsd/nfs4state.c
@@ -1385,7 +1385,8 @@ static void revoke_delegation(struct nfs4_delegation *dp)
1385
struct nfs4_client *clp = dp->dl_stid.sc_client;
1386
1387
WARN_ON(!list_empty(&dp->dl_recall_lru));
1388
- WARN_ON_ONCE(!(dp->dl_stid.sc_status &
+ WARN_ON_ONCE(dp->dl_stid.sc_client->cl_minorversion > 0 &&
1389
+ !(dp->dl_stid.sc_status &
1390
(SC_STATUS_REVOKED | SC_STATUS_ADMIN_REVOKED)));
1391
1392
trace_nfsd_stid_revoke(&dp->dl_stid);
0 commit comments