mbox series

[0/6,v2] support admin-revocation of v4 state

Message ID 20231101010049.27315-1-neilb@suse.de (mailing list archive)
Headers show
Series support admin-revocation of v4 state | expand

Message

NeilBrown Nov. 1, 2023, 12:57 a.m. UTC
This set fixes two issues found by kernel test robot
1/ nfsd4_revoke_states() needs to be defined when not CONFIG_NFSD_V4
2/ nfs40_last_revoke is larger than a mechine word in 32 bit configs,
   so needs protection - use nn->client_lock which is already taken when
   nfs40_last_revoke is accessed.

NeilBrown

Comments

Jeff Layton Nov. 2, 2023, 11:29 a.m. UTC | #1
On Wed, 2023-11-01 at 11:57 +1100, NeilBrown wrote:
> This set fixes two issues found by kernel test robot
> 1/ nfsd4_revoke_states() needs to be defined when not CONFIG_NFSD_V4
> 2/ nfs40_last_revoke is larger than a mechine word in 32 bit configs,
>    so needs protection - use nn->client_lock which is already taken when
>    nfs40_last_revoke is accessed.
> 
> NeilBrown
> 

In general, the series looks like something reasonable to do (and
something admins would welcome). I have some (long standing) concerns
around the sc_type value though that I think we probably need to address
prior to or in conjunction with this set.

Cheers,