diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 03:20:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:34:05 -0500 |
commit | 2d1f3b5d1b2cd11a162eb29645df749ec0036413 (patch) | |
tree | bb87ef9fcd2d9760b618d196fc8361a5a4dd851e /drivers/md/md.c | |
parent | d7603b7e3a7f802c67f9190b2387d4d5d111ec14 (diff) |
[PATCH] md: clean up 'page' related names in md
Substitute:
page_cache_get -> get_page
page_cache_release -> put_page
PAGE_CACHE_SHIFT -> PAGE_SHIFT
PAGE_CACHE_SIZE -> PAGE_SIZE
PAGE_CACHE_MASK -> PAGE_MASK
__free_page -> put_page
because we aren't using the page cache, we are just using pages.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 6101879a730f..c3ac67cffe62 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -339,7 +339,7 @@ static int alloc_disk_sb(mdk_rdev_t * rdev) | |||
339 | static void free_disk_sb(mdk_rdev_t * rdev) | 339 | static void free_disk_sb(mdk_rdev_t * rdev) |
340 | { | 340 | { |
341 | if (rdev->sb_page) { | 341 | if (rdev->sb_page) { |
342 | page_cache_release(rdev->sb_page); | 342 | put_page(rdev->sb_page); |
343 | rdev->sb_loaded = 0; | 343 | rdev->sb_loaded = 0; |
344 | rdev->sb_page = NULL; | 344 | rdev->sb_page = NULL; |
345 | rdev->sb_offset = 0; | 345 | rdev->sb_offset = 0; |