summaryrefslogtreecommitdiff
path: root/lib/commands/toolcontext.h
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2010-08-11 12:14:23 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2010-08-11 12:14:23 +0000
commit626242c1bd87b70da65011fc342ba138a83d56fa (patch)
tree33538e6e06c6e2216029ad1e3f394a529af036dc /lib/commands/toolcontext.h
parentf21beaf20c6a4f06547af171c873d0e6ae638ff8 (diff)
downloadlvm2-626242c1bd87b70da65011fc342ba138a83d56fa.tar.gz
Recognise and give preference to md device partitions (blkext major).
We can already detect MD devices internally. But when using MD partitions, these have "block extended major" (blkext) assigned (259). Blkext major is also used in general, so we need to check whether the original device is an MD device actually.
Diffstat (limited to 'lib/commands/toolcontext.h')
-rw-r--r--lib/commands/toolcontext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/toolcontext.h b/lib/commands/toolcontext.h
index 94f7f12d4..d0ff12ac1 100644
--- a/lib/commands/toolcontext.h
+++ b/lib/commands/toolcontext.h
@@ -95,7 +95,7 @@ struct cmd_context {
char system_dir[PATH_MAX];
char dev_dir[PATH_MAX];
char proc_dir[PATH_MAX];
- char sysfs_dir[PATH_MAX];
+ char sysfs_dir[PATH_MAX]; /* FIXME Use global value instead. */
};
/*