summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-bufio.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-11-28 10:48:25 +0100
committerMike Snitzer <snitzer@redhat.com>2014-12-01 17:30:13 +0100
commitf824a2af3dfbbb766c02e19df21f985bceadf0ee (patch)
tree64efe7b50085b22bf281825e34af5f8fc11a5372 /drivers/md/dm-bufio.c
parentdm cache: dirty flag was mistakenly being cleared when promoting via overwrite (diff)
downloadlinux-f824a2af3dfbbb766c02e19df21f985bceadf0ee.tar.xz
linux-f824a2af3dfbbb766c02e19df21f985bceadf0ee.zip
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
Diffstat (limited to 'drivers/md/dm-bufio.c')
0 files changed, 0 insertions, 0 deletions