summaryrefslogtreecommitdiffstats
path: root/include/blkdev.h
diff options
context:
space:
mode:
authorHajime Taira2010-05-13 13:23:49 +0200
committerKarel Zak2010-05-14 13:01:01 +0200
commitf0bef3ca0fed141eff28f972c03c3a10ae01fcaf (patch)
tree91df1dcc3ca1c84d8047a85ce6263f707b169c6c /include/blkdev.h
parentblkid: add 'export' output format (diff)
downloadkernel-qcow2-util-linux-f0bef3ca0fed141eff28f972c03c3a10ae01fcaf.tar.gz
kernel-qcow2-util-linux-f0bef3ca0fed141eff28f972c03c3a10ae01fcaf.tar.xz
kernel-qcow2-util-linux-f0bef3ca0fed141eff28f972c03c3a10ae01fcaf.zip
fsfreeze: new command
[kzak@redhat.com: - cleanup - add long options - add note about DM to the man page - use err.h and nls.h] Signed-off-by: Hajime Taira <htaira@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/blkdev.h')
-rw-r--r--include/blkdev.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/blkdev.h b/include/blkdev.h
index 34e4e924e..0eea01cd8 100644
--- a/include/blkdev.h
+++ b/include/blkdev.h
@@ -45,6 +45,11 @@
#define BLKPBSZGET _IO(0x12,123)
#endif
+#ifndef FIFREEZE
+#define FIFREEZE _IOWR('X', 119, int) /* Freeze */
+#define FITHAW _IOWR('X', 120, int) /* Thaw */
+#endif
+
#ifndef HDIO_GETGEO
# ifdef __linux__
# define HDIO_GETGEO 0x0301