git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e8c4e4
)
dm snapshot: lock snapshot while supplying status
author
Mikulas Patocka
<mpatocka@redhat.com>
Fri, 16 Oct 2009 22:18:16 +0000
(23:18 +0100)
committer
Alasdair G Kergon
<agk@redhat.com>
Fri, 16 Oct 2009 22:18:16 +0000
(23:18 +0100)
This patch locks the snapshot when returning status. It fixes a race
when it could return an invalid number of free chunks if someone
was simultaneously modifying it.
Cc: stable@kernel.org
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c
patch
|
blob
|
history
diff --cc
drivers/md/dm-snap.c
Simple merge