projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm verity: avoid deadlock
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
md
/
dm-bufio.c
diff --git
a/drivers/md/dm-bufio.c
b/drivers/md/dm-bufio.c
index
3c955e1
..
c608313
100644
(file)
--- a/
drivers/md/dm-bufio.c
+++ b/
drivers/md/dm-bufio.c
@@
-1025,6
+1025,8
@@
void dm_bufio_prefetch(struct dm_bufio_client *c,
{
struct blk_plug plug;
{
struct blk_plug plug;
+ BUG_ON(dm_bufio_in_request());
+
blk_start_plug(&plug);
dm_bufio_lock(c);
blk_start_plug(&plug);
dm_bufio_lock(c);