projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ced6e47
)
dm block-manager: avoid not required parentheses
author
Heinz Mauelshagen
<heinzm@redhat.com>
Wed, 1 Feb 2023 20:57:45 +0000
(21:57 +0100)
committer
Mike Snitzer
<snitzer@kernel.org>
Tue, 14 Feb 2023 19:23:06 +0000
(14:23 -0500)
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/persistent-data/dm-block-manager.c
patch
|
blob
|
history
diff --git
a/drivers/md/persistent-data/dm-block-manager.c
b/drivers/md/persistent-data/dm-block-manager.c
index 6200b09321354cf6df4772b977aa666694ee908c..de5e4b5df553e47a5318138f82cd1de76dd6f29a 100644
(file)
--- a/
drivers/md/persistent-data/dm-block-manager.c
+++ b/
drivers/md/persistent-data/dm-block-manager.c
@@
-620,7
+620,7
@@
void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b)
bool dm_bm_is_read_only(struct dm_block_manager *bm)
{
- return
(bm ? bm->read_only : true)
;
+ return
bm ? bm->read_only : true
;
}
EXPORT_SYMBOL_GPL(dm_bm_is_read_only);