aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-26 13:55:41 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-26 13:55:41 -0500
commit1c2948380b699dfdbb25a7de740392dd9e6f0613 (patch)
treef1a9fc2903c0cc85b24dd2fb279f89597976670d /net
parentb2e448eca1a52fea181905845728ae00a138d84e (diff)
parentb871866e4aa3f44b10f0f0ce004cc4635c2e58a5 (diff)
Merge tag 'for-3.14-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
Pull 9p changes from Eric Van Hensbergen: "Included are a new cache model for support of mmap, and several cleanups across the filesystem and networking portions of the code" * tag 'for-3.14-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs: 9p: update documentation 9P: introduction of a new cache=mmap model. net/9p: remove virtio default hack and set appropriate bits instead 9p: remove useless 'name' variable and assignment 9p: fix return value in case in v9fs_fid_xattr_set() 9p: remove useless variable and assignment 9p: remove useless assignment 9p: remove unused 'super_block' struct pointer 9p: remove never used return variable 9p: remove unused 'p9_fid' struct pointer 9p: remove unused 'p9_client' struct pointer
Diffstat (limited to 'net')
-rw-r--r--net/9p/client.c3
-rw-r--r--net/9p/trans_fd.c2
-rw-r--r--net/9p/trans_virtio.c2
3 files changed, 2 insertions, 5 deletions
diff --git a/net/9p/client.c b/net/9p/client.c
index ee8fd6bd4035..a5e4d2dcb03e 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -1012,9 +1012,6 @@ struct p9_client *p9_client_create(const char *dev_name, char *options)
1012 goto destroy_tagpool; 1012 goto destroy_tagpool;
1013 1013
1014 if (!clnt->trans_mod) 1014 if (!clnt->trans_mod)
1015 clnt->trans_mod = v9fs_get_trans_by_name("virtio");
1016
1017 if (!clnt->trans_mod)
1018 clnt->trans_mod = v9fs_get_default_trans(); 1015 clnt->trans_mod = v9fs_get_default_trans();
1019 1016
1020 if (clnt->trans_mod == NULL) { 1017 if (clnt->trans_mod == NULL) {
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c
index 9321a7763067..b7bd7f2961bf 100644
--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -1048,7 +1048,7 @@ p9_fd_create(struct p9_client *client, const char *addr, char *args)
1048static struct p9_trans_module p9_tcp_trans = { 1048static struct p9_trans_module p9_tcp_trans = {
1049 .name = "tcp", 1049 .name = "tcp",
1050 .maxsize = MAX_SOCK_BUF, 1050 .maxsize = MAX_SOCK_BUF,
1051 .def = 1, 1051 .def = 0,
1052 .create = p9_fd_create_tcp, 1052 .create = p9_fd_create_tcp,
1053 .close = p9_fd_close, 1053 .close = p9_fd_close,
1054 .request = p9_fd_request, 1054 .request = p9_fd_request,
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 9c5a1aa34d12..cd1e1ede73a4 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -698,7 +698,7 @@ static struct p9_trans_module p9_virtio_trans = {
698 * page in zero copy. 698 * page in zero copy.
699 */ 699 */
700 .maxsize = PAGE_SIZE * (VIRTQUEUE_NUM - 3), 700 .maxsize = PAGE_SIZE * (VIRTQUEUE_NUM - 3),
701 .def = 0, 701 .def = 1,
702 .owner = THIS_MODULE, 702 .owner = THIS_MODULE,
703}; 703};
704 704