]> git.baikalelectronics.ru Git - kernel.git/commit
dm log: move region_size validation
authorMilan Broz <mbroz@redhat.com>
Tue, 6 Jan 2009 03:05:01 +0000 (03:05 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 6 Jan 2009 03:05:01 +0000 (03:05 +0000)
commit2045e88edb4e0c9ce62d317f77dc59d27d9c530e
tree324eeea271b889263d0141fe0c82d4b0e43d0079
parent6f3af01cb0eda0ec50fe1e4cbdf028269dc396fe
dm log: move region_size validation

Move log size validation from mirror target to log constructor.

Removed PAGE_SIZE restriction we no longer think necessary.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-log.c
drivers/md/dm-raid1.c