]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/bitmap: cleaner separation of page attribute handlers in md/bitmap
authorNeil Brown <neilb@suse.de>
Sat, 11 Aug 2007 23:03:48 +0000 (01:03 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sat, 11 Aug 2007 23:03:48 +0000 (01:03 +0200)
commit65d3f3569815bda6f390244825f046ed8248d3e0
treefec6d81d083b5c403570be4dc430c834ab8049d7
parentddd0593c7408afa9dcc29db6a80669761107ee3c
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: Adrian Bunk <bunk@kernel.org>
drivers/md/bitmap.c