summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-snap.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2023-01-30 22:13:54 +0100
committerMike Snitzer <snitzer@kernel.org>2023-02-14 14:23:06 -0500
commit03b18887703c5fa342896e52e873812ea33d964b (patch)
treef4018443dba31b2c4bfd2efb7c376ff00c8c7e66 /drivers/md/dm-snap.c
parent43be9c743c2553519c2093d1798b542f28095a51 (diff)
downloadlinux-03b18887703c5fa342896e52e873812ea33d964b.tar.gz
linux-03b18887703c5fa342896e52e873812ea33d964b.tar.bz2
linux-03b18887703c5fa342896e52e873812ea33d964b.zip
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-snap.c')
-rw-r--r--drivers/md/dm-snap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c
index 2896f733a0d0..6078c5386afa 100644
--- a/drivers/md/dm-snap.c
+++ b/drivers/md/dm-snap.c
@@ -2345,8 +2345,7 @@ static void snapshot_status(struct dm_target *ti, status_type_t type,
(unsigned long long)sectors_allocated,
(unsigned long long)total_sectors,
(unsigned long long)metadata_sectors);
- }
- else
+ } else
DMEMIT("Unknown");
}