summaryrefslogtreecommitdiff
path: root/include/linux/swap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2002-05-19 19:40:16 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-19 19:40:16 -0700
commitbd2b0c85edfa015fdb4990ad07ad10e94ea885a4 (patch)
tree60f6fe44b83ad5a7b03d142c5be3f557614e7d6b /include/linux/swap.h
parent43a3a37b90928f55410aba9378891edda3de1fa9 (diff)
[PATCH] get rid of <linux/locks.h>
The lock.h header contained some hand-crafted lcoking routines from the pre-SMP days. In 2.5 only lock_super/unlock_super are left, guarded by a number of completly unrelated (!) includes. This patch moves lock_super/unlock_super to fs.h, which defined struct super_block that is needed for those to operate it, removes locks.h and updates all caller to not include it and add the missing, previously nested includes where needed.
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r--include/linux/swap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 1674b5acd6f7..3a376842c21c 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -91,6 +91,7 @@ struct swap_info_struct {
int next; /* next entry on swap list */
};
+struct inode;
extern int nr_swap_pages;
/* Swap 50% full? Release swapcache more aggressively.. */