summaryrefslogtreecommitdiff
path: root/include/linux/8250_pci.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-02-20 20:53:43 -0500
committerChris Mason <chris.mason@oracle.com>2012-02-23 10:43:45 -0500
commita6b0d5c8dbfd428717fc4db4c36757783f391c7b (patch)
treefc3faaed8b1cf93c7dbe60af4c950be5edd9c8ad /include/linux/8250_pci.h
parentfe66a05a06795bd3b788404d69ea7709f46a1609 (diff)
downloadlinux-next-a6b0d5c8dbfd428717fc4db4c36757783f391c7b.tar.gz
Btrfs: make sure we update latest_bdev
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>
Diffstat (limited to 'include/linux/8250_pci.h')
0 files changed, 0 insertions, 0 deletions