forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag '9p-for-5.17-rc1' of git://github.com/martinetd/linux
Pull 9p updates from Dominique Martinet: "Fixes, split 9p_net_fd, and new reviewer: - fix possible uninitialized memory usage for setattr - fix fscache reading hole in a file just after it's been grown - split net/9p/trans_fd.c in its own module like other transports. The new transport module defaults to 9P_NET and is autoloaded if required so users should not be impacted - add Christian Schoenebeck to 9p reviewers - some more trivial cleanup" * tag '9p-for-5.17-rc1' of git://github.com/martinetd/linux: 9p: fix enodata when reading growing file net/9p: show error message if user 'msize' cannot be satisfied MAINTAINERS: 9p: add Christian Schoenebeck as reviewer 9p: only copy valid iattrs in 9P2000.L setattr implementation 9p: Use BUG_ON instead of if condition followed by BUG. net/p9: load default transports 9p/xen: autoload when xenbus service is available 9p/trans_fd: split into dedicated module fs: 9p: remove unneeded variable 9p/trans_virtio: Fix typo in the comment for p9_virtio_create()
- Loading branch information
Showing
13 changed files
with
71 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,6 +226,7 @@ F: drivers/net/ethernet/8390/ | |
M: Eric Van Hensbergen <[email protected]> | ||
M: Latchesar Ionkov <[email protected]> | ||
M: Dominique Martinet <[email protected]> | ||
R: Christian Schoenebeck <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
W: http://swik.net/v9fs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1090,6 +1090,7 @@ static struct p9_trans_module p9_tcp_trans = { | |
.show_options = p9_fd_show_options, | ||
.owner = THIS_MODULE, | ||
}; | ||
MODULE_ALIAS_9P("tcp"); | ||
|
||
static struct p9_trans_module p9_unix_trans = { | ||
.name = "unix", | ||
|
@@ -1103,6 +1104,7 @@ static struct p9_trans_module p9_unix_trans = { | |
.show_options = p9_fd_show_options, | ||
.owner = THIS_MODULE, | ||
}; | ||
MODULE_ALIAS_9P("unix"); | ||
|
||
static struct p9_trans_module p9_fd_trans = { | ||
.name = "fd", | ||
|
@@ -1116,6 +1118,7 @@ static struct p9_trans_module p9_fd_trans = { | |
.show_options = p9_fd_show_options, | ||
.owner = THIS_MODULE, | ||
}; | ||
MODULE_ALIAS_9P("fd"); | ||
|
||
/** | ||
* p9_poll_workfn - poll worker thread | ||
|
@@ -1149,7 +1152,7 @@ static void p9_poll_workfn(struct work_struct *work) | |
p9_debug(P9_DEBUG_TRANS, "finish\n"); | ||
} | ||
|
||
int p9_trans_fd_init(void) | ||
static int __init p9_trans_fd_init(void) | ||
{ | ||
v9fs_register_trans(&p9_tcp_trans); | ||
v9fs_register_trans(&p9_unix_trans); | ||
|
@@ -1158,10 +1161,17 @@ int p9_trans_fd_init(void) | |
return 0; | ||
} | ||
|
||
void p9_trans_fd_exit(void) | ||
static void __exit p9_trans_fd_exit(void) | ||
{ | ||
flush_work(&p9_poll_work); | ||
v9fs_unregister_trans(&p9_tcp_trans); | ||
v9fs_unregister_trans(&p9_unix_trans); | ||
v9fs_unregister_trans(&p9_fd_trans); | ||
} | ||
|
||
module_init(p9_trans_fd_init); | ||
module_exit(p9_trans_fd_exit); | ||
|
||
MODULE_AUTHOR("Eric Van Hensbergen <[email protected]>"); | ||
MODULE_DESCRIPTION("Filedescriptor Transport for 9P"); | ||
MODULE_LICENSE("GPL"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -538,6 +538,7 @@ static void p9_trans_xen_exit(void) | |
} | ||
module_exit(p9_trans_xen_exit); | ||
|
||
MODULE_ALIAS("xen:9pfs"); | ||
MODULE_AUTHOR("Stefano Stabellini <[email protected]>"); | ||
MODULE_DESCRIPTION("Xen Transport for 9P"); | ||
MODULE_LICENSE("GPL"); |