git: 8cca7b7f28fe - main - nfs client: depend on xdr

Konstantin Belousov kib at FreeBSD.org
Tue Apr 13 15:05:21 UTC 2021


The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=8cca7b7f28feaf0c5e2dfedb985ae334a4013ef6

commit 8cca7b7f28feaf0c5e2dfedb985ae334a4013ef6
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-04-13 11:47:20 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-04-13 15:04:43 +0000

    nfs client: depend on xdr
    
    Since 7763814fc9c27 nfsrpc_setclient() uses mem_alloc() that is macro
    around malloc(M_RPC).  M_RPC is provided by xdr.ko.
    
    Reviewed by:    rmacklem
    Sponsored by:   Mellanox Technologies/NVidia Networking
    MFC after:      1 week
---
 sys/fs/nfsclient/nfs_clvfsops.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/fs/nfsclient/nfs_clvfsops.c b/sys/fs/nfsclient/nfs_clvfsops.c
index 365b1c387cc2..08a25c6fe632 100644
--- a/sys/fs/nfsclient/nfs_clvfsops.c
+++ b/sys/fs/nfsclient/nfs_clvfsops.c
@@ -155,6 +155,7 @@ MODULE_VERSION(nfs, 1);
 MODULE_DEPEND(nfs, nfscommon, 1, 1, 1);
 MODULE_DEPEND(nfs, krpc, 1, 1, 1);
 MODULE_DEPEND(nfs, nfssvc, 1, 1, 1);
+MODULE_DEPEND(nfs, xdr, 1, 1, 1);
 
 /*
  * This structure is now defined in sys/nfs/nfs_diskless.c so that it


More information about the dev-commits-src-all mailing list