exfat: Fix discard support
authorPali Rohár <pali@kernel.org>
Tue, 17 Mar 2020 21:46:52 +0000 (22:46 +0100)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 22 Apr 2020 11:14:05 +0000 (20:14 +0900)
commitb7e038a92449f191395fbb86538b14093c529833
tree8c00ada4edc94ba71c57a7b8c804efdd3064c375
parentae83d0b416db002fe95601e7f97f64b59514d936
exfat: Fix discard support

Discard support was always unconditionally disabled. Now it is disabled
only in the case when blk_queue_discard() returns false.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/super.c