dm: fix a couple brace coding style issues

Signed-off-by: Sheetal Singala <2396sheetal@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
Sheetal Singala 2019-05-10 23:18:37 +05:30 committed by Mike Snitzer
parent f710126cfc
commit 8454fca4f5
1 changed files with 4 additions and 2 deletions

View 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;