git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
md: factor do_md_run to separate accesses to ->gendisk
[safe/jmp/linux-2.6]
/
drivers
/
md
/
dm-sysfs.c
diff --git
a/drivers/md/dm-sysfs.c
b/drivers/md/dm-sysfs.c
index
4b04590
..
f91b409
100644
(file)
--- 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);
}