]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md/bitmap: cleaner separation of page attribute handlers in md/bitmap
authorNeilBrown <neilb@suse.de>
Mon, 26 Jun 2006 07:27:45 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:38 +0000 (09:58 -0700)
commitec7a3197f4777eff5039251d0e08a031b3372d6c
tree5ccb31fbc03f8e7247f856613b5078300fee3bbf
parent0b79ccf0cdd9f59e5f99017e1a5d23da336544b2
[PATCH] md/bitmap: cleaner separation of page attribute handlers in md/bitmap

md/bitmap has some attributes per-page.  Handling of these attributes in
largely abstracted in set_page_attr and clear_page_attr.  However
get_page_attr exposes the format used to store them.  So prior to changing
that format, introduce test_page_attr instead of get_page_attr, and make
appropriate usage changes.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/bitmap.c