summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.h
diff options
context:
space:
mode:
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>2009-12-11 00:52:26 +0100
committerAlasdair G Kergon <agk@redhat.com>2009-12-11 00:52:26 +0100
commit4f186f8bbfa92bf1a2b39f7a8674348bfdba9437 (patch)
tree9fd65776c0314abf6774f30e542d565e22ae4698 /drivers/md/dm.h
parentdm: swap target postsuspend call and setting suspended flag (diff)
downloadlinux-4f186f8bbfa92bf1a2b39f7a8674348bfdba9437.tar.xz
linux-4f186f8bbfa92bf1a2b39f7a8674348bfdba9437.zip
dm: rename dm_suspended to dm_suspended_md
This patch renames dm_suspended() to dm_suspended_md() and keeps it internal to dm. No functional change. Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Cc: Mike Anderson <andmike@linux.vnet.ibm.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm.h')
-rw-r--r--drivers/md/dm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/md/dm.h b/drivers/md/dm.h
index 604a5f2a2383..8dadaa5bc396 100644
--- a/drivers/md/dm.h
+++ b/drivers/md/dm.h
@@ -94,6 +94,11 @@ int dm_split_args(int *argc, char ***argvp, char *input);
int dm_deleting_md(struct mapped_device *md);
/*
+ * Is this mapped_device suspended?
+ */
+int dm_suspended_md(struct mapped_device *md);
+
+/*
* The device-mapper can be driven through one of two interfaces;
* ioctl or filesystem, depending which patch you have applied.
*/