]> git.baikalelectronics.ru Git - kernel.git/commit
staging: exfat: properly support discard in clr_alloc_bitmap()
authorAndrea Righi <andrea.righi@canonical.com>
Thu, 5 Dec 2019 15:29:13 +0000 (16:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Dec 2019 09:56:53 +0000 (10:56 +0100)
commit72b39d4329061abcd1894622afc39125d1bd53e7
tree58498b282abd5949ca779210d9d90669043c88fc
parent09b36170f36476fd72ee5f4222138ea634ed5e1a
staging: exfat: properly support discard in clr_alloc_bitmap()

Currently the discard code in clr_alloc_bitmap() is just dead code.
Move code around so that the discard operation is properly attempted
when enabled.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Link: https://lore.kernel.org/r/20191205152913.GJ3276@xps-13
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/exfat/exfat_core.c