]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dm: fix a couple brace coding style issues
authorSheetal Singala <2396sheetal@gmail.com>
Fri, 10 May 2019 17:48:37 +0000 (23:18 +0530)
committerMike Snitzer <snitzer@redhat.com>
Thu, 16 May 2019 14:09:21 +0000 (10:09 -0400)
Signed-off-by: Sheetal Singala <2396sheetal@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c

index 56c34a0a9cd9f24a88b378b859b41ef042df7a13..1fb1333fefec12b881ec5e32f0a12bad8af6108c 100644 (file)
@@ -781,7 +781,8 @@ static void close_table_device(struct table_device *td, struct mapped_device *md
 }
 
 static struct table_device *find_table_device(struct list_head *l, dev_t dev,
-                                             fmode_t mode) {
+                                             fmode_t mode)
+{
        struct table_device *td;
 
        list_for_each_entry(td, l, list)
@@ -792,7 +793,8 @@ static struct table_device *find_table_device(struct list_head *l, dev_t dev,
 }
 
 int dm_get_table_device(struct mapped_device *md, dev_t dev, fmode_t mode,
-                       struct dm_dev **result) {
+                       struct dm_dev **result)
+{
        int r;
        struct table_device *td;