mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
9pfs: rename virtio_9p_set_fd_limit to use v9fs_ prefix
It's not virtio specific. Signed-off-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
parent
0192cc5d79
commit
72a189770a
1 changed files with 1 additions and 1 deletions
|
@ -3266,7 +3266,7 @@ void pdu_submit(V9fsPDU *pdu)
|
||||||
qemu_coroutine_enter(co, pdu);
|
qemu_coroutine_enter(co, pdu);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __attribute__((__constructor__)) virtio_9p_set_fd_limit(void)
|
static void __attribute__((__constructor__)) v9fs_set_fd_limit(void)
|
||||||
{
|
{
|
||||||
struct rlimit rlim;
|
struct rlimit rlim;
|
||||||
if (getrlimit(RLIMIT_NOFILE, &rlim) < 0) {
|
if (getrlimit(RLIMIT_NOFILE, &rlim) < 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue