diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2023-01-31 00:13:54 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2023-02-14 22:23:06 +0300 |
commit | 03b18887703c5fa342896e52e873812ea33d964b (patch) | |
tree | f4018443dba31b2c4bfd2efb7c376ff00c8c7e66 /drivers/md/dm-table.c | |
parent | 43be9c743c2553519c2093d1798b542f28095a51 (diff) | |
download | linux-03b18887703c5fa342896e52e873812ea33d964b.tar.xz |
dm: fix trailing statements
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-table.c')
-rw-r--r-- | drivers/md/dm-table.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 1a70ad3644e7..ead5cecd7781 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -1974,8 +1974,7 @@ int dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, blk_queue_flag_set(QUEUE_FLAG_DAX, q); if (dm_table_supports_dax(t, device_not_dax_synchronous_capable)) set_dax_synchronous(t->md->dax_dev); - } - else + } else blk_queue_flag_clear(QUEUE_FLAG_DAX, q); if (dm_table_any_dev_attr(t, device_dax_write_cache_enabled, NULL)) |