mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: add some FIXMEs
This commit is contained in:
parent
dfca5dac9c
commit
4e1ac7faf1
@ -794,6 +794,7 @@ int lv_raid_dev_health(const struct logical_volume *lv, char **dev_health)
|
||||
int r;
|
||||
struct dev_manager *dm;
|
||||
struct dm_status_raid *status;
|
||||
/* FIXME: find a better way for this, it is fragile */
|
||||
static char *cached_dev_health = NULL;
|
||||
static const struct logical_volume *cached_lv = NULL;
|
||||
|
||||
|
@ -437,6 +437,8 @@ int dev_open_flags(struct device *dev, int flags, int direct, int quiet)
|
||||
}
|
||||
|
||||
dev_close_immediate(dev);
|
||||
// FIXME: dev with DEV_ALLOCED is released
|
||||
// but code is referencing it
|
||||
}
|
||||
|
||||
if (critical_section())
|
||||
|
Loading…
Reference in New Issue
Block a user