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:
474ef7c
)
rbd: expose the correct size of the device in sysfs
author
Josh Durgin
<josh.durgin@dreamhost.com>
Mon, 5 Dec 2011 18:35:04 +0000
(10:35 -0800)
committer
Sage Weil
<sage@inktank.com>
Tue, 31 Jul 2012 01:15:38 +0000
(18:15 -0700)
If an image was mapped to a snapshot, the size of the head version
would be shown. Protect capacity with header_rwsem, since it may
change.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Reviewed-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c
patch
|
blob
|
history
diff --cc
drivers/block/rbd.c
Simple merge