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:
fe66a05
)
Btrfs: make sure we update latest_bdev
author
Chris Mason
<chris.mason@oracle.com>
Tue, 21 Feb 2012 01:53:43 +0000
(20:53 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 23 Feb 2012 15:43:45 +0000
(10:43 -0500)
When we are setting up the mount, we close all the
devices that were not actually part of the metadata we found.
But, we don't make sure that one of those devices wasn't
fs_devices->latest_bdev, which means we can do a use after free
on the one we closed.
This updates latest_bdev as it goes.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
No differences found