diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2009-12-11 00:52:08 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-12-11 00:52:08 +0100 |
commit | 7e201b35132a1f02c931a0a06760766c846bb49b (patch) | |
tree | 02ab2bcf4609763ab9780db2a87b9f37aa77186f /drivers/md/dm-snap-transient.c | |
parent | dm snapshot: simplify sector_to_chunk expression (diff) | |
download | linux-7e201b35132a1f02c931a0a06760766c846bb49b.tar.xz linux-7e201b35132a1f02c931a0a06760766c846bb49b.zip |
dm snapshot: abstract minimum_chunk_size fn
The origin needs to find minimum chunksize of all snapshots. This logic is
moved to a separate function because it will be used at another place in
the snapshot merge patches.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-snap-transient.c')
0 files changed, 0 insertions, 0 deletions