Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f97615d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix a compile issue when CONFIG_NFS_V4_1 is undefined



struct nfs_direct_req can't compile when struct pnfs_ds_commit_info
is undefined.

Reported-by: default avatarBryan Schumaker <bjschuma@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
parent 292f3eee
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1176,6 +1176,11 @@ struct nfs41_free_stateid_res {
	struct nfs4_sequence_res	seq_res;
};

#else

struct pnfs_ds_commit_info {
};

#endif /* CONFIG_NFS_V4_1 */

struct nfs_page;