summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-sysfs.c
diff options
context:
space:
mode:
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>2009-12-10 23:52:26 +0000
committerAlasdair G Kergon <agk@redhat.com>2009-12-10 23:52:26 +0000
commit4f186f8bbfa92bf1a2b39f7a8674348bfdba9437 (patch)
tree9fd65776c0314abf6774f30e542d565e22ae4698 /drivers/md/dm-sysfs.c
parent4d4471cb5c1ec426c0f24818b270dc7b3ad7e655 (diff)
downloadlinux-4f186f8bbfa92bf1a2b39f7a8674348bfdba9437.tar.gz
linux-4f186f8bbfa92bf1a2b39f7a8674348bfdba9437.tar.bz2
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-sysfs.c')
-rw-r--r--drivers/md/dm-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-sysfs.c b/drivers/md/dm-sysfs.c
index b000de38c99a..f53392df7b97 100644
--- a/drivers/md/dm-sysfs.c
+++ b/drivers/md/dm-sysfs.c
@@ -59,7 +59,7 @@ static ssize_t dm_attr_uuid_show(struct mapped_device *md, char *buf)
static ssize_t dm_attr_suspended_show(struct mapped_device *md, char *buf)
{
- sprintf(buf, "%d\n", dm_suspended(md));
+ sprintf(buf, "%d\n", dm_suspended_md(md));
return strlen(buf);
}