Commit 8454fca4 authored by Sheetal Singala's avatar Sheetal Singala Committed by Mike Snitzer

dm: fix a couple brace coding style issues

Signed-off-by: default avatarSheetal Singala <2396sheetal@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent f710126c
...@@ -781,7 +781,8 @@ static void close_table_device(struct table_device *td, struct mapped_device *md ...@@ -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, static struct table_device *find_table_device(struct list_head *l, dev_t dev,
fmode_t mode) { fmode_t mode)
{
struct table_device *td; struct table_device *td;
list_for_each_entry(td, l, list) 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, ...@@ -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, 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; int r;
struct table_device *td; struct table_device *td;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment