diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-04-15 01:12:20 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-15 08:34:08 +0200 |
commit | ac2803b4119db5e7c4eb56837f83811c51ec3ea0 (patch) | |
tree | 4d10a78bd57445ab7349cff0015dfa5857c4842b /trans | |
parent | 608123211f8b4065863f866cd3abd9589731de6a (diff) | |
download | hurd-ac2803b4119db5e7c4eb56837f83811c51ec3ea0.tar.gz hurd-ac2803b4119db5e7c4eb56837f83811c51ec3ea0.tar.bz2 hurd-ac2803b4119db5e7c4eb56837f83811c51ec3ea0.zip |
Remove default_pager_paging_file RPC from default pager
The default_pager_paging_storage RPC has already it more than 20 years
ago. Given that we want to change the type of default_pager_filename_t
to use c_string, we can just remove the unused RPC.
Tested that swapon/swapoff still work with the new binaries.
Message-Id: <ZDoyNOE0XB77d5xj@mars.tail36e24.ts.net>
Diffstat (limited to 'trans')
-rw-r--r-- | trans/proxy-defpager.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/trans/proxy-defpager.c b/trans/proxy-defpager.c index bfeda063..878beffe 100644 --- a/trans/proxy-defpager.c +++ b/trans/proxy-defpager.c @@ -99,18 +99,6 @@ S_default_pager_object_pages (mach_port_t default_pager, pages, pagesCnt); } - -kern_return_t -S_default_pager_paging_file (mach_port_t default_pager, - mach_port_t master_device_port, - const_default_pager_filename_t filename, - boolean_t add) -{ - return allowed (default_pager, O_WRITE) - ?: default_pager_paging_file (real_defpager, dev_master, filename, add) - ?: mach_port_deallocate (mach_task_self (), master_device_port); -} - kern_return_t S_default_pager_paging_storage (mach_port_t default_pager, mach_port_t device, |