]> git.karo-electronics.de Git - karo-tx-linux.git/commit
A little thin discard code refactoring to make the next patch (dm thin:
authorMike Snitzer <snitzer@redhat.com>
Tue, 2 Oct 2012 00:01:05 +0000 (10:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Oct 2012 00:01:05 +0000 (10:01 +1000)
commitf6472a76ae5998351f77b632ee792bb7560ff1eb
tree8de5985752d06f6d13f0db44bbb1ddf05309decb
parent59b32b6e14ba19aa4a3975c63bc2dab7fb6963da
A little thin discard code refactoring to make the next patch (dm thin:
fix discard support for data devices) more readable.
Pull out a couple of functions (and uses bools instead of unsigned for
features).

No functional changes.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c