commit | f824a2af3dfbbb766c02e19df21f985bceadf0ee | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Fri Nov 28 09:48:25 2014 +0000 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Dec 01 11:30:13 2014 -0500 |
tree | 64efe7b50085b22bf281825e34af5f8fc11a5372 | |
parent | 1e32134a5a404e80bfb47fad8a94e9bbfcbdacc5 [diff] |
dm cache: fix spurious cell_defer when dealing with partial block at end of device We never bother caching a partial block that is at the back end of the origin device. No cell ever gets locked, but the calling code was assuming it was and trying to release it. Now the code only releases if the cell has been set to a non NULL value. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org