projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: add partition resize function to blkpg ioctl
[linux-2.6-block.git]
/
include
/
linux
/
blkpg.h
diff --git
a/include/linux/blkpg.h
b/include/linux/blkpg.h
index faf8a45af210053c535537c85cb25b1af228c7e0..a8519446c111ab02fb71e79e6b31fea1df666223 100644
(file)
--- a/
include/linux/blkpg.h
+++ b/
include/linux/blkpg.h
@@
-40,6
+40,7
@@
struct blkpg_ioctl_arg {
/* The subfunctions (for the op field) */
#define BLKPG_ADD_PARTITION 1
#define BLKPG_DEL_PARTITION 2
+#define BLKPG_RESIZE_PARTITION 3
/* Sizes of name fields. Unused at present. */
#define BLKPG_DEVNAMELTH 64