Bug 223640 - [patch] inline swp_pager_isondev() and replaced to call it
Summary: [patch] inline swp_pager_isondev() and replaced to call it
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-11-13 05:16 UTC by ota
Modified: 2019-05-21 19:35 UTC (History)
1 user (show)

See Also:


Attachments
inline swp_pager_isondev and call from 2 places (1.08 KB, patch)
2017-11-13 05:16 UTC, ota
no flags Details | Diff
2nd patch with style fix (865 bytes, patch)
2018-08-12 05:19 UTC, ota
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ota 2017-11-13 05:16:23 UTC
Created attachment 187952 [details]
inline swp_pager_isondev and call from 2 places

Improve code reuse.
Comment 1 ota 2017-11-13 05:18:51 UTC
I created and tested this patch against 11-CURRENT.
I only confirmed the patch applies okay on the head.
Comment 2 ota 2018-08-12 05:19:56 UTC
Created attachment 196119 [details]
2nd patch with style fix

Fixed style.
Comment 3 Ed Maste freebsd_committer freebsd_triage 2019-05-21 19:35:33 UTC
Committed in r340637
https://reviews.freebsd.org/rS340637