summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSheetal Singala <2396sheetal@gmail.com>2019-05-10 20:48:37 +0300
committerMike Snitzer <snitzer@redhat.com>2019-05-16 17:09:21 +0300
commit8454fca4f53bbe5e0a71613192674c8ce5c52318 (patch)
tree4ead5f43694a8584458fa8f13fddb94bd9fc1525 /drivers
parentf710126cfc89c8df477002a26dee8407eb0b4acd (diff)
downloadlinux-8454fca4f53bbe5e0a71613192674c8ce5c52318.tar.xz
dm: fix a couple brace coding style issues
Signed-off-by: Sheetal Singala <2396sheetal@gmail.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/dm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 56c34a0a9cd9..1fb1333fefec 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -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;