aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r--include/linux/swap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 82aa7e121c05..f1c248796fb8 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -159,9 +159,10 @@ enum {
159 * The in-memory structure used to track swap areas. 159 * The in-memory structure used to track swap areas.
160 */ 160 */
161struct swap_info_struct { 161struct swap_info_struct {
162 unsigned long flags; 162 unsigned long flags; /* SWP_USED etc: see above */
163 int prio; /* swap priority */ 163 signed short prio; /* swap priority of this type */
164 int next; /* next entry on swap list */ 164 signed char type; /* strange name for an index */
165 signed char next; /* next type on the swap list */
165 struct file *swap_file; 166 struct file *swap_file;
166 struct block_device *bdev; 167 struct block_device *bdev;
167 struct list_head extent_list; 168 struct list_head extent_list;