/* * Copyright (c) 2012 Netapp, Inc. All rights reserved. */ #include #include #include "internal.h" #include "nfs3_fs.h" #include "nfs.h" struct nfs_subversion nfs_v3 = { .owner = THIS_MODULE, .nfs_fs = &nfs_fs_type, .rpc_vers = &nfs_version3, .rpc_ops = &nfs_v3_clientops, .sops = &nfs_sops, #ifdef CONFIG_NFS_V3_ACL .xattr = nfs3_xattr_handlers, #endif }; static int __init init_nfs_v3(void) { register_nfs_version(&nfs_v3); return 0; } static void __exit exit_nfs_v3(void) { unregister_nfs_version(&nfs_v3); } MODULE_LICENSE("GPL"); module_init(init_nfs_v3); module_exit(exit_nfs_v3); src='/cgit.png' alt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2016-08-04 12:11:56 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-08 12:51:58 -0700
commit12474e8e58d82e2b815cd35956c0c06fab104ee7 (patch)
tree74c5fdb34f87f717342f0f4247156144eb055061
parentdca3f53c02e325bb19dfc05b1571b9a706226fea (diff)
sctp_diag: Fix T3_rtx timer export
The asoc's timer value is not kept in asoc->timeouts array but in it's primary transport instead. Furthermore, we must export the timer only if it is pending, otherwise the value will underrun when stored in an unsigned variable and user space will only see a very large timeout value. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: David S. Miller <davem@davemloft.net>