summaryrefslogtreecommitdiffstats
path: root/mm/filemap_xip.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-12-10 17:06:57 +0000
committerMike Snitzer <snitzer@redhat.com>2014-12-17 11:59:36 -0500
commit45ec9bd0fd7abf8705e7cf12205ff69fe9d51181 (patch)
treea50e1a62b4f5cfacfd0bf6b91a008482d77b30bc /mm/filemap_xip.c
parent9b8ec916df67ba31614796037caf606b763e2e79 (diff)
downloadlinux-45ec9bd0fd7abf8705e7cf12205ff69fe9d51181.tar.bz2
dm thin: fix inability to discard blocks when in out-of-data-space mode
When the pool was in PM_OUT_OF_SPACE mode its process_prepared_discard function pointer was incorrectly being set to process_prepared_discard_passdown rather than process_prepared_discard. This incorrect function pointer meant the discard was being passed down, but not effecting the mapping. As such any discard that was issued, in an attempt to reclaim blocks, would not successfully free data space. Reported-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'mm/filemap_xip.c')
0 files changed, 0 insertions, 0 deletions