2024-05-31 00:02:42

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] NFS: remove unused struct 'mnt_fhstatus'

From: "Dr. David Alan Gilbert" <[email protected]>

'mnt_fhstatus' has been unused since
commit 065015e5efff ("NFS: Remove unused XDR decoder functions").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
fs/nfs/mount_clnt.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c
index 68e76b626371..57c9dd700b58 100644
--- a/fs/nfs/mount_clnt.c
+++ b/fs/nfs/mount_clnt.c
@@ -128,11 +128,6 @@ struct mountres {
rpc_authflavor_t *auth_flavors;
};

-struct mnt_fhstatus {
- u32 status;
- struct nfs_fh *fh;
-};
-
/**
* nfs_mount - Obtain an NFS file handle for the given host and path
* @info: pointer to mount request arguments
--
2.45.1



2024-05-31 12:28:18

by Benjamin Coddington

[permalink] [raw]
Subject: Re: [PATCH] NFS: remove unused struct 'mnt_fhstatus'

On 30 May 2024, at 20:00, [email protected] wrote:

> From: "Dr. David Alan Gilbert" <[email protected]>
>
> 'mnt_fhstatus' has been unused since
> commit 065015e5efff ("NFS: Remove unused XDR decoder functions").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <[email protected]>

Reviewed-by: Benjamin Coddington <[email protected]>

Ben