From a3f1abfb458ea2adcebc9f4c0d4722847781f863 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Mon, 19 Jul 2021 15:58:46 +0900 Subject: [PATCH] fs: nfs: Fix statfs for NFS Summary: - I noticed that the results of the df command are incorrect for NFS. - Finally, I found that obj_attributes is not needed to communicate with the NFS server on Linux - This commit fixes this issue Impact: - None Testing: - Tested with spresense:rndis_smp Signed-off-by: Masayuki Ishikawa --- fs/nfs/nfs_proto.h | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfs/nfs_proto.h b/fs/nfs/nfs_proto.h index 5b4a1f96d2..11d30cd627 100644 --- a/fs/nfs/nfs_proto.h +++ b/fs/nfs/nfs_proto.h @@ -308,7 +308,6 @@ struct nfsv3_sattr struct nfs_statfs { uint32_t obj_attributes_follow; - struct nfs_fattr obj_attributes; nfsuint64 sf_tbytes; nfsuint64 sf_fbytes; nfsuint64 sf_abytes;