Re: [PATCH 6.8.y] sunrpc: use the struct net as the svc proc private

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 27, 2024 at 11:27:28AM -0400, cel@xxxxxxxxxx wrote:
> From: Josef Bacik <josef@xxxxxxxxxxxxxx>
> 
> [ Upstream commit 418b9687dece5bd763c09b5c27a801a7e3387be9 ]
> 
> nfsd is the only thing using this helper, and it doesn't use the private
> currently.  When we switch to per-network namespace stats we will need
> the struct net * in order to get to the nfsd_net.  Use the net as the
> proc private so we can utilize this when we make the switch over.
> 
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>
> Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx>
> Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx>
> ---
>  net/sunrpc/stats.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> This pre-requisite is needed for upstream commit 4b14885411f7 ("nfsd:
> make all of the nfsd stats per-network namespace").

Now queued up, thanks.

greg k-h




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux