diff options
author | Anand Jain <anand.jain@oracle.com> | 2023-03-02 14:30:48 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:17 +0200 |
commit | ce4cf3793e72a4ca2eeebc5db5d04f25b42a59db (patch) | |
tree | 896579649bb4138727b258590c74ff754ea36348 /fs/btrfs/locking.h | |
parent | btrfs: avoid repetitive define BTRFS_FEATURE_INCOMPAT_SUPP (diff) | |
download | linux-ce4cf3793e72a4ca2eeebc5db5d04f25b42a59db.tar.xz linux-ce4cf3793e72a4ca2eeebc5db5d04f25b42a59db.zip |
btrfs: remove redundant clearing of NODISCARD
If no discard mount option is specified, including the NODISCARD option,
we make the async discard the default option then we don't have to call
the clear_opt again to clear the NODISCARD flag. Though this makes no
difference, that the call is redundant has been pointed out several
times so we better remove it.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/locking.h')
0 files changed, 0 insertions, 0 deletions